<?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://app.company.com/myapp/app.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.company.*</string>
<key>bundle-version</key>
<string>1.0.0 (1.0.0)</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>Conference APp</string>
</dict>
</dict>
</array>
</dict>
</plist>
我正在尝试访问清单文件,以便在iPhone上下载应用程序。
我将它指向清单文件,但它似乎没有在iOS设备上读取它:
<a href="itms-services://?action=download-manifest&url=main.com/manifest.plist">Download </a>
答案 0 :(得分:0)
itms-services链接的url
参数需要正确转义(你不能使用/字符,必须是%2f)并且它必须是绝对URL而不是相对网址。
尝试将其更改为:
<a href="itms-services://?action=download-manifest&url=https%3A%2F%2Fexample.com%2Fapp%2fmanifest.plist">Download ProjectA Reports</a>
答案 1 :(得分:0)
路径不正确。这个IOS6和IOS7的文件没有区别