我已将以下文件上传到服务器的根文件夹
appname.ipa
appname.plist
appname.png
的index.php
在appname.plist文件内容中如下:
<?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://subdomain.domain.com/appname.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.appname.enterprise</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>Appname</string>
</dict>
</dict>
</array>
</dict>
</plist>
我在index.php中使用的链接
<a href="itms-services://?action=download-manifest&url=https://subdomain.domain.com/appname.plist"> click this link to install </a>
我还在etc / mime.types中添加了所有需要的mime类型
application/octet-stream bin lha lzh exe class so dll img iso ipa
application/xml plist
text/xml xml plist
我也有SSL证书。
这是问题因为我正在使用子域吗?