【问题标题】:Create URL for ipa. Link not working为 ipa 创建 URL。链接失效
【发布时间】:2017-11-01 19:08:32
【问题描述】:

我创建了三个文件来下载 ipa。但链接失效意味着我无法从浏览器下载应用程序。

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>  

请帮助找到我的问题。谢谢大家。 :)

【问题讨论】:

标签: ios ipa


【解决方案1】:

如果您使用 Dropbox 作为您的https 服务器,您必须在所有链接中将“dropbox.com”替换为“dl.dropboxusercontent.com”,否则它不会工作。

通过here查看我的回答。

【讨论】:

    猜你喜欢
    • 2019-02-05
    • 2013-05-20
    • 2010-11-14
    • 2014-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-10-14
    相关资源
    最近更新 更多