为 ipa 创建 URL。 Link 不工作
Create URL for ipa. Link not working
我创建了三个文件来下载ipa。但是 link 不工作意味着我无法从浏览器下载应用程序。
MyProject.ipa
manifest.plist
a.html
manifest.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://www.dropbox.com/s/testUser/MyProject.ipa?dl=0</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.ttt.app</string>
<key>bundle-version</key>
<string>1.0.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>app</string>
</dict>
</dict>
</array>
</dict>
a.html
<a href="itms-services://?action=download-manifest&url=https://www.dropbox.com/s/testUser/manifest.plist?dl=0">Install App</a>
请帮忙找出我的问题。谢谢大家。 :)
如果您使用 Dropbox 作为您的 https
服务器,您 必须 将 中的 "dropbox.com" 替换为 "dl.dropboxusercontent.com"链接,否则无效
查看我在 的回答。
我创建了三个文件来下载ipa。但是 link 不工作意味着我无法从浏览器下载应用程序。
MyProject.ipa
manifest.plist
a.html
manifest.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://www.dropbox.com/s/testUser/MyProject.ipa?dl=0</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.ttt.app</string>
<key>bundle-version</key>
<string>1.0.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>app</string>
</dict>
</dict>
</array>
</dict>
a.html
<a href="itms-services://?action=download-manifest&url=https://www.dropbox.com/s/testUser/manifest.plist?dl=0">Install App</a>
请帮忙找出我的问题。谢谢大家。 :)
如果您使用 Dropbox 作为您的 https
服务器,您 必须 将 中的 "dropbox.com" 替换为 "dl.dropboxusercontent.com"链接,否则无效
查看我在