7 Star 48 Fork 16

Ty / UTM

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
TetheredLaunch.md 2.18 KB
一键复制 编辑 原始数据 按行查看 历史

Tethered Launch

On iOS 14, Apple patched the trick we used to get JIT working. As a result, the next best workaround is significantly more involved. This only applies to non-jailbroken devices. If you are jailbroken, you do not need to do this.

Prerequisites

Signing

Install and follow the instructions for iOS App Signer. Make sure your signing certificate and provisioning profiles matches. Select the UTM.ipa release as the input file and press start.

Save the signed IPA as UTM-signed.ipa. Once the process is completed, rename UTM-signed.ipa to UTM-signed.zip and open the ZIP file. macOS should extract the files to a new directory named Payload/.

Deploying

To deploy UTM, connect your device and run in Terminal:

ios-deploy --bundle /path/to/Payload/UTM.app

(Hint: you can drag Payload/UTM.app into Terminal to auto-fill in the path.)

Launching

You need to run the following each subsequent time you wish to launch UTM. (You cannot launch UTM from the home screen in iOS 14 or it will not work properly!)

ios-deploy --justlaunch --noinstall --bundle /path/to/Payload/UTM.app

(Hint: if you open Xcode and go to Window -> Devices and Simulators and find your device, you can check "Connect via network" in order to deploy/launch without a USB cable. You just need the device unlocked and near your computer.)

Troubleshooting

Trust issue

If you see the message The operation couldn’t be completed. Unable to launch xxx because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user., you need to open Settings -> General -> Device Management, select the developer profile, and press Trust.

Failed to register bundle identifier

Xcode might show this message when trying to create a signing profile. You need to change the Bundle Identifier and try again.

Objective-C
1
https://gitee.com/yqssss/UTM.git
git@gitee.com:yqssss/UTM.git
yqssss
UTM
UTM
master

搜索帮助