IOS包 \" *. ipa \" 放到自己的服务器,并支持下载安装

IOS包    \ *. ipa  \ 放到自己的服务器,并支持下载安装

1.创建 manifest.plist 文件
   2.通过 itms-services://协议让 Safari 进行下载
   3.ipa 下载链接必须为 https 的
文件 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://xxxx.com/down/ios/xxxx.ipa</string>                    </dict>                    <dict>                        <key>kind</key>                        <string>display-image</string>                        <key>url</key>                        <string>https://xxxx.com/down/ios/images/58.png</string>                    </dict>                    <dict>                        <key>kind</key>                        <string>full-size-image</string>                        <key>url</key>                        <string>https://xxxx.com/down/ios/images/640X960.png</string>                    </dict>                </array>                <key>metadata</key>                <dict>                    <key>bundle-identifier</key>                    <string>.com.xxxx.xxxLo</string>                    <key>bundle-version</key>                    <string>1.4</string>                    <key>kind</key>                    <string>software</string>                    <key>title</key>                    <string>xxxx网</string>                </dict>            </dict>        </array>    </dict></plist>文件 index.html<html lang="en"><head>    <meta charset="UTF-8">    <title>xxxx网</title></head><body><a style="font-size: 5rem" href="itms-services://?action=download-manifest&url=https://xxxx.com/down/ios/manifest.plist">下载</a>
<h1>IOS下载</h1></body></html>参考链接 https://www.jianshu.com/p/2f5ec1ab46f4