Install IPA With OTA

iTunes 12.6 後移除 .ipa 安裝功能,本文介紹使用 OTA(Over-the-Air)方式安裝 iOS Ad-Hoc IPA 的完整流程:上傳 .ipa 至 Dropbox 取得公開連結、建立 manifest.plist 與 index.html,以及使用 GitHub Pages 作為 Host 的詳細步驟。

前言

由於 iTunes 12.6 之後不提供 .ipa 檔安裝,導致無法提供測試 App,所以有人研究出很多安裝方式。不過這邊主要是介紹 OTA 的方式。

其他的安裝方式:iTunes 12.7 移除了 Apps 的選項,我該如何安裝 .ipa 檔案到 iOS 裝置?

Using OTA

使用 OTA(Over-the-Air)需要有三個檔案 .ipa(ad-Hoc).plistindex.html

.ipa(ad-Hoc) 需要上傳去雲端空間,目前選擇的雲端空間是 Dropbox

還需要 Host Website 上傳 .plistindex.html,目前選擇的是 GitHub

所以只要使用 Host Website 就可以安裝了。

參考文章:Error when distributing an IPA over the air with dropbox - iOS 7.1

  1. 先把輸出好的 .ipa(ad-Hoc) 上傳至 Dropbox 並且設定分享。

  2. 將分享網址裡的 www.dropbox.com 替換為 dl.dropboxusercontent.com

  3. 紀錄修改 public link

Create manifest.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>items</key>
    <array>
        <dict>
            <key>assets</key>
            <array>
                <dict>
                    <key>kind</key>
                    <string>software-package</string>
                    <key>url</key>
                    <string>http://YOUR_SERVER_URL/YOUR-IPA-FILE.ipa</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.yourCompany.productName</string>
                <key>bundle-version</key>
                <string>1.0.0</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>YOUR APP NAME</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

修改好 public linkapp info 就完成 .plist

Create index.html

<!DOCTYPE html>
<html>
<head>
    <title>App install</title>
</head>
<body>
    <h2>builds</h2>
<a href="itms-services://?action=download-manifest&url=http://YOUR_SERVER_URL/manifest.plist"> App</a></body>
</body>
</html>

url=http://YOUR_SERVER_URL/manifest.plist 替換成 Website manifest.plist

Hosting using Github

  1. Create a new repository(教學文章
  2. 上傳 manifest.plistindex.html

得到 Github Website index.html就可以安裝 .ipa

參考文章

iTunes 12.7 移除了 Apps 的選項,我該如何安裝 .ipa 檔案到 iOS 裝置?

從網路上下載 ipa 檔並且安裝在 iPhone or iPad(Download and install an ipa from url on iOS)

Error when distributing an IPA over the air with dropbox - iOS 7.1

使用 GitHub 免費製作個人網站


2026年5月30日 星期六
comments powered by Disqus
Wenrong Nexus