用戶端流程
- 使用 Safari 打開落地頁 (http&https)
- 跳轉 plist 文件 (https only !!!)
- 下載 .ipa (http&https)
- 跳轉 設置 -> 通用 -> 描述文件,添加信任
注意事項
網頁端分發時,直接鏈接到 plist,ipa 信息包含在 plist 中。plist 模板在本文最底部,具體參照的是 這篇文章
-
網頁端分發時,跳轉鏈接格式為:
itms-services://?action=download-manifest&url=你的plist下載地址
網頁端分發時,plist 文件的下載地址需要是 https
直接打開描述文件
Safari 版本
鏈接 | iOS 9 | iOS 10 |
---|---|---|
href = "prefs:root=General&path=ManagedConfigurationList" | ? | ? |
href = "你的 .mobileprovision 文件鏈接" | ? | ? |
in-App 版本
URL Scheme | iOS 9 | iOS 10 |
---|---|---|
prefs:root=General&path=ManagedConfigurationList | ? | ? |
App-Prefs:root=General&path=ManagedConfigurationList | ? | ? |
plist 模板
<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://a.szdtoo.com.cn/download/download.do?fileName=cf58ffab-784d-4071-8413-d68c55467b76.ipa
</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.parent.szdtoo.yijiayi</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>1+1教育</string>
</dict>
</dict>
</array>
</dict>
</plist>