iOS 安装自己服务器上的IPA包

2018-11-19  本文已影响0人  Mr_Jee

如何从自己的服务器上下载苹果的IPA包,安装到苹果手机上?

  1. 经过企业证书签名的IPA包;
  2. 创建一个plist文件,内容如下:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
    <array>
        <dict>
            <key>assets</key>
            <array>
                <dict>
                    <key>kind</key>
                    <string>software-package</string>
                    <key>url</key>
                    <string>https://kaig.chuangkegf.com/profile/WuHanLoan.ipa</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>full-size-image</string>
                    <key>needs-shine</key>
                    <true/>
                    <key>url</key>
                    <string>https://kaig.chuangkegf.com/profile/down_image_57.png</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>display-image</string>
                    <key>needs-shine</key>
                    <true/>
                    <key>url</key>
                    <string>https://kaig.chuangkegf.com/profile/down_image_512.png</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>title</key>
                <string>惠普众联</string>
                <key>bundle-version</key>
                <string>1.0</string>
                <key>kind</key>
                <string>software</string>
                <key>bundle-identifier</key>
                <string>com.wanshang.WuHanLoan</string>
            </dict>
        </dict>
    </array>
</array>
</plist>
  1. 把IPA包和plist文件放到自己的服务器(https://)
  2. 生成一个访问plist文件的地址,在Safari上打开即可
<itms-services://?action=download-manifest&url=https://kaig.chuangkegf.com/profile/WuHanLoan.plist>
上一篇 下一篇

猜你喜欢

热点阅读