IOS的企业版安装包 点击链接直接安装的方式 plist方式

来源:互联网 发布:算法导论17.1 2 编辑:程序博客网 时间:2024/06/06 18:24

1.需要在Nginx资源目录下放置四个文件,分别为xxx.ipa、xxx.plist、Icon@2x.png和Icon.png。推荐将这四个文件放到同一个目录,分别代表安装包文件.ipa、安装包解释文件.plist和两个icon文件。

2.详细解释一下.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>--安装包URL
                                        <string>https://www.xxxxx.com/ios/xxx.ipa</string>
                                </dict>
                                <dict>
                                        <key>kind</key>
                                        <string>full-size-image</string>
                                        <key>needs-shine</key>
                                        <true/>
                                        <key>url</key>--两倍iconURL
                                        <string>https://www.xxxxx.com/ios/Icon@2x.png</string>
                                </dict>
                                <dict>
                                        <key>kind</key>
                                        <string>display-image</string>
                                        <key>needs-shine</key>
                                        <true/>
                                        <key>url</key>--原始iconURL
                                        <string>https://www.xxxxx.com/ios/Icon.png</string>
                                </dict>
                        </array>
                        <key>metadata</key>
                        <dict>
                                <key>bundle-identifier</key>--由苹果生成的唯一标识
                                <string>5J25P6YYLL.com.kinstalk.youngQinjian</string>
                                <key>bundle-version</key>--编译版本(据说每打一次包都要+1)
                                <string>10</string>
                                <key>kind</key>
                                <string>software</string>
                                <key>title</key>
                                <string>亲见</string>
                        </dict>
                </dict>
        </array>
</dict>
</plist>

0 0
原创粉丝点击