搭建苹果应用IPA下载页面

2020-05-25  本文已影响0人  醉影

html 页面

<html>
  <head>
    </head>
  <body>
<a href="itms-services://?action=download-manifest&url=https://xxxxx.plist">Install App</a>
    </body>
  </html>

https://xxxxx.plist 对应服务器上面具体的plist 文件路径
plist 的服务器路径必须为https

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>http://xxxxxx.ipa</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.abc.xx</string> 
                <key>bundle-version</key>
                <string>1.0</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>XXX-内测版</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

com.abc.xx//对应应用的Bundle Identifier
上一篇 下一篇

猜你喜欢

热点阅读