如何从自己的服务器上下载苹果的IPA包,安装到苹果手机上?
- 经过企业证书签名的IPA包;
- 创建一个plist文件,内容如下:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>https://xxx/name.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>https://xxx.png</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>https://xxx.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>title</key>
<string>name</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>bundle-identifier</key>
<string>com.xxx.xxx</string>
</dict>
</dict>
</array>
</array>
</plist>
- 把IPA包和plist文件放到自己的服务器(https://)
- 生成一个访问plist文件的地址,在Safari上打开即可
<itms-services://?action=download-manifest&url=https://xxx/name.plist>