|
1 |
| -# 不完全啟動 |
| 1 | +# 捆綁式啟動 |
2 | 2 |
|
3 |
| - 在iOS14中,Apple[修補][1]了我們用來使JIT工作的“把戲”。 因此,下一個最佳的解決方案所涉及的範圍更廣。 這只支援非越獄設備。 如果你越獄了,你不需要這樣做。 |
| 3 | +在 iOS 14 當中,Apple [修複][1]了我們之前令 JIT 工作的“蠱惑招”。因此,下一個最佳的變通方法涉及更多。這只限用於未越獄的裝置。如你已經越獄,就無需這樣做。 |
4 | 4 |
|
5 |
| - ## 前條件 |
| 5 | +## 先決條件 |
6 | 6 |
|
7 |
| - * Xcode |
8 |
| - * [最新的正用版IPA][3] |
9 |
| - * [iOS App Signer][4] |
10 |
| - * [Homebrew][2] |
11 |
| - * [ios-deploy][5] (`brew install ios-deploy`) |
| 7 | +* Xcode |
| 8 | +* [最新版本的 IPA][3] |
| 9 | +* [iOS App Signer][4] |
| 10 | +* [Homebrew][2] |
| 11 | +* [ios-deploy][5] (`brew install ios-deploy`) |
12 | 12 |
|
13 |
| - ## 簽字 |
| 13 | +## 簽署 |
14 | 14 |
|
15 |
| - 安裝並按照[iOS App Signer][4]的說明進行操作。 請確保您的簽字證書和配置文件匹配。 選擇UTM.ipa正式版作為輸入文件並且按下開始。 |
| 15 | +安裝並依照 [iOS App Signer][4] 的說明執行操作。確保你的簽署證書與配置檔案匹配。選擇 UTM.ipa 發行版本作為輸入檔案,然後按一下「開始」。 |
16 | 16 |
|
17 |
| - 將已簽字的IPA保存為`UTM-signed.ipa`,過程完成後將`UTM-signed.ipa`重命名為`UTM-signed.zip`並且打開ZIP文件。 macOS會將文件提取至名為`Payload/`的新目錄。 |
| 17 | +將已經簽署的 IPA 儲存為 `UTM-signed.ipa`,完成程序之後,將 `UTM-signed.ipa` 重新命名為`UTM-signed.zip`,並且開啟 ZIP 檔案。macOS 應將檔案解壓縮至名稱為 `Payload/` 的新目錄當中。 |
18 | 18 |
|
19 |
| - ## 部署 |
| 19 | +## 部署 |
20 | 20 |
|
21 |
| - 要部署UTM,連接你的設備然後在終端中運行: |
| 21 | +如要部署 UTM,連接你的裝置並在終端機中執行: |
22 | 22 |
|
23 |
| - ```sh |
24 |
| - ios-deploy --bundle /path/to/Payload/UTM.app |
25 |
| - ``` |
| 23 | +```sh |
| 24 | +ios-deploy --bundle /path/to/Payload/UTM.app |
| 25 | +``` |
26 | 26 |
|
27 |
| - (提示:你可以把 `Payload/UTM.app` 拖放進終端來自動填充目錄。) |
| 27 | +(貼士:你可以拖放 `Payload/UTM.app` 至終端機以自動填充目錄。) |
28 | 28 |
|
29 |
| - ## 啟動 |
| 29 | +## 啟動 |
30 | 30 |
|
31 |
| - 當你每次希望啟動UTM時,都需要運行以下命令。 (你無法在iOS14中從主頁面正常啟動UTM否則它無法正常運行!) |
| 31 | +如你每次希望啟動 UTM,都需要執行以下內容。(在 iOS 14 當中,不應該透過主畫面啟動 UTM,否則它將無法正常工作!) |
32 | 32 |
|
33 |
| - ```sh |
34 |
| - ios-deploy --justlaunch --noinstall --bundle /path/to/Payload/UTM.app |
35 |
| - ``` |
| 33 | +```sh |
| 34 | +ios-deploy --justlaunch --noinstall --bundle /path/to/Payload/UTM.app |
| 35 | +``` |
36 | 36 |
|
37 |
| - (提示:如果您打開Xcode並轉到Window->Devices and Simulators並找到您的設備,那麼您可以選中“Connect via network”(通過網路連接)以便在沒有USB連線的情況下部署/啟動。你只 需要解鎖設備並靠近你的電腦。) |
| 37 | +(貼士:如你要開啟 Xcode 並轉到 Window > Devices and Simulators 找到你的裝置,則你可以選中「Connect via network」以便於在無 USB 連線的條件下部署/啟動。你只需要解鎖裝置並令它靠近你的電腦。) |
38 | 38 |
|
39 |
| - ## 疑難解答 |
| 39 | +## 疑難排解 |
40 | 40 |
|
41 |
| - ### 信任問題 |
| 41 | +### 信任問題 |
42 | 42 |
|
43 |
| - 如果你看見了消息:`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.(無法完成操作。無法啟動xxx, 因為它的代碼簽名無效、授權不足或其配置文件未被用戶明確信任。 )`,你需要打開設置-> 通用-> 設備管理,選擇開發者描述文件,然後選擇信任。 |
| 43 | +如你看到訊息:`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.`,你需要開啟設定 > 一般 > 裝置管理,選擇「開發者描述檔」,然後選擇「信任」。 |
44 | 44 |
|
45 |
| - ### 註冊捆綁標識符失敗 |
| 45 | +### 註冊套裝識別碼失敗(Failed to register bundle identifier) |
46 | 46 |
|
47 |
| - Xcode 可能在嘗試創建簽名配置文件時顯示此消息,您需要更改綁定標識符並重試。 |
| 47 | +Xcode 可能在嘗試製作簽名設定檔時顯示此訊息,你需要更改套裝識別碼,然後再試。 |
48 | 48 |
|
49 |
| - [1]: https://github.com/utmapp/UTM/issues/397 |
50 |
| - [2]: https://brew.sh |
51 |
| - [3]: https://github.com/utmapp/UTM/releases |
52 |
| - [4]: https://dantheman827.github.io/ios-app-signer/ |
53 |
| - [5]: https://github.com/ios-control/ios-deploy |
| 49 | +[1]: https://github.com/utmapp/UTM/issues/397 |
| 50 | +[2]: https://brew.sh |
| 51 | +[3]: https://github.com/utmapp/UTM/releases |
| 52 | +[4]: https://dantheman827.github.io/ios-app-signer/ |
| 53 | +[5]: https://github.com/ios-control/ios-deploy |
0 commit comments