OTA meas Distributing App over-the-air without using TestFlight or App Store
需要三个文件
- .ipa
- index.html
- manifest.plist
index.html
<a href="itms-services://?action=download-manifest&url=${URL_Of_manifest.plist}">Install App</a>
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>${URL_Of_IPA.ipa}</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>$BundleID</string>
<key>bundle-version</key>
<string>${VERSION}</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>${APP Name}</string> // 用来在安装过程中,显示名称
</dict>
</dict>
</array>
</dict>
</plist>
最后
PrevisionProfile 需要包含设备 UDID