软件环境:Xcode 6.4
参考链接:
1、http://zxs19861202.iteye.com/blog/1997722
2、http://www.cnblogs.com/abl1992/p/4717168.html
流程说明:
HTML页面的下载链接
<a title="iPhone" href="itms-services://?action=download-manifest&url=https://www.domainname.com/filname.plist">
Iphone Download</a>
plist文件 需要放在支持https的站点下,若无支持SSL的站点,可将plist文件托管至github
<?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>https://www.domainname.com/filname.ipa</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>com.companyname.appname</string> <key>bundle-version</key> <string>1.0</string> <key>kind</key> <string>software</string> <key>title</key> <string>应用程序名称</string> </dict> </dict> </array> </dict> </plist>