通过 itms-services 协议下载安装 IOS 应用

发布于:2025-04-05 ⋅ 阅读:(31) ⋅ 点赞:(0)

关于使用itms-services://?action=download-manifest&url=https://xxx/app.plist 究竟是怎么回事儿?

itms-services://‌是苹果公司提供的一种协议,用于在iOS设备上无线安装或更新iOS应用

它允许开发者或企业用户通过网页链接直接在用户的iOS设备上安装应用,而无需通过App Store

https://xxx/app.plist  链接打开之后,如下:

<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://xxx/app.ipa</string>
                    </dict>
                    <dict>
                        <key>kind</key>
                        <string>full-size-image</string>
                        <key>needs-shine</key>
                        <true/>
                        <key>url</key>
                        <string>https://xxx/icon.png</string>
                    </dict>
                </array>
                <key>metadata</key>
                <dict>
                    <key>bundle-identifier</key>
                    <string>com.xxx.xxx</string>
                    <key>bundle-version</key>
                    <string>1.0.0</string>
                    <key>kind</key>
                    <string>software</string>
                    <key>title</key>
                    <string>系统</string>
                </dict>
            </dict>
        </array>
    </dict>
</plist>

itms-services://?action=download-manifest&url=MANIFEST_URL

<a href="itms-services://?action=download-manifest&url=https://配置文件地址/ipa.plist" download="app.ipa" target="_blank">IOS下载</a>

先这些吧,懂的不多,也还没有实质性测试结果,网络资料而已。


 


网站公告

今日签到

点亮在社区的每一天
去签到