配置点击下载的地址
itms-services://?action=download-manifest&url= "plist文件路径"
plist文件配置
IIS网站配置
要添加网站MIME类型 扩展名填:MIME类型填:application/XML
并且网站要配置成HTTPS,就可以在ios浏览器中下载ipa文件了
<?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>http://****/download/bossonline.ipa</string> </dict> <dict> <key>kind</key> <string>display-image</string> <key>url</key> <string>https://download.chinabaoao.com/ios_yabo/image.57x57.png</string> </dict> <dict> <key>kind</key> <string>full-size-image</string> <key>url</key> <string>https://download.chinabaoao.com/ios_yabo/image.512x512.png</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>com.yabo.games4</string> <key>bundle-version</key> <string>3.2.1</string> <key>kind</key> <string>software</string> <key>title</key> <string>BOOS</string> </dict> </dict> </array> </dict> </plist>
MIME 类型
.mobileprovision application/octet-stream
.plist application/XML