Virtual machines for iOS
It is possible to invent a single machine which can be used to compute any computable sequence.
-- Alan Turing, 1936
UTM is a full featured virtual machine host for iOS. In short, it allows you to run Windows, Android, and more on your iPhone and iPad. More information at https://getutm.app/
If you just want to use UTM on iOS 11-13 or on jailbroken iOS 14, this is not the right place! Visit https://getutm.app/install/ for directions.
To run UTM without a jailbreak on iOS 14 (as well as to develop UTM on any iOS version), you must run with the Xcode debugger attached.
The recommended way to obtain the dependencies is to use the built artifacts from Github Actions. Look for the latest release build and download the Sysroot artifact from either the arm64 build (for iOS) or x86_64 build (for iOS Simulator). Then unzip the artifact to the root directory of UTM. You can then open
UTM.xcodeproj, select your signing certificate, and then run UTM from Xcode.
If you want to build the dependencies yourself, it is highly recommended that you start with a fresh macOS VM. This is because some of the dependencies attempt to use
/usr/local/libeven though the architecture does not match. Certain installed libraries like
gawkwill break the build.
brew install bison pkg-config gettext glib libgpg-error nasm make mesonMake sure to add
git submodule update --init --recursiveif you haven't already
./scripts/build_dependencies.shto start the build. If building for the simulator, run
./scripts/build_dependencies.sh -p ios -a x86_64instead.
UTM.xcodeprojand select your signing certificate
Mostly the same as for iOS but with the following changes:
./scripts/build_dependencies.sh -p macos -a x86_64
./scripts/build_dependencies.sh -p macos -a arm64
You may also download the prebuilt dependencies from Github instead.
ipareleases are fake-signed. If you are jailbroken, you should NOT sign it. You can install directly with Filza.
If you want to sign the release for stock devices, there are a variety of ways. The recommended way is with iOS App Signer. Note there are known issues with many "cloud" signing services such as AppCake and they do not work with UTM. If you get a crash while trying to launch a VM, then your signing certificate was invalid.
In more technical detail, there are two kinds of signing certificates: "development" and "distribution". UTM requires "development" which has the
If you want to sign an
xcarchivesuch as from a Github Actions built artifact, you can use the following command:
./scripts/resign.sh UTM.xcarchive outputPath PROFILE_NAME TEAM_ID
PROFILE_NAMEis the name of the provisioning profile and
TEAM_IDis the identifier next to the team name in the provisioning profile. Make sure the signing key is imported into your keychain and the provision profile is installed on your iOS device.
If you have a jailbroken device, you can also fake-sign it (with
./scripts/resign.sh UTM.xcarchive outputPath
Apple does not permit any apps that have interpreted or generated code therefore it is unlikely that UTM will ever be allowed. However, there are various ways people on the internet have come up to sideload apps without requiring a jailbreak. We do not condone or support any of these methods.
UTM is distributed under the permissive Apache 2.0 license. However, it uses several (L)GPL components. Most are dynamically linked but the gstreamer plugins are statically linked and parts of the code are taken from qemu. Please be aware of this if you intend on redistributing this application.