plist格式
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>http://www.domain.com/domain.ipa(这里是IPA文件的路径, http路径就可以)</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.domain.app12(这个名字在xcode 中查看)</string>
<key>bundle-version</key>
<string>app的版本,在xcode中看</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>这里是APP的名称</string>
</dict>
</dict>
</array>
</dict>
</plist>
生成最终生成下载链接
itms-services://?action=download-manifest&url=https://xxx.com/xx.plist
服务端的要求:
OS X Server 设置 MIME 类型:
application/octet-stream ipa
text/xml plist
IIS 使用 IIS Manager在服务器的属性页面中添加 MIME 类型:
.ipa application/octet-stream
.plist text/xml