https://blog.csdn.net/hliq5399/article/details/49741667
通过网络安装ipa
注意:plist文件的名称必须跟ipa文件名称一致
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>https://forecastchain.org/WNStocks.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.killer.WNStock</string>
<key>bundle-version</key>
<string>1.3.144</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>预测链FCC</string>
</dict>
</dict>
</array>
</dict>
</plist>
1)将plist与ipa文件上传至服务器,
遵循 itms-services://协议
创建网页,包含如下代码:<a href="itms-services://?action=download-manifest&url=https://mydomain.com/apps/MyInHouseApp.plist" id="text">Install the In-House App</a>
替换的时候,一定要更改plist文件名,不然浏览器缓存,还是会下载老的应用.
这个问题折磨了我几个小时
网友评论