zoukankan      html  css  js  c++  java
  • iOS 企业账号打包ipa挂载服务器下载安装使用

     为了更加方便的让用户下载自己的APP ,可以自己把打包出ipa挂载服务器下下载及ipa包不能直接进行下载,可通过HTTPS服务,使用itms-services参数访问中转的plist描述文件,最终找到ipa文件的实际路径完成下载。

    那么,实现ipa的下载需进行以下内容:

    1、搭建一个HTTPS服务。例子中HTTPS服务地址为x.justep.com。
    2、编写plist文件:plist文件中需注意提供正确的ipa文件路径,以及版本号和Bundle ID。plist文件示例参考 

    其中以下几项信息必须与ipa包的相关信息相符:
    <dict>
            <key>bundle-identifier</key>
            <string>com.justep.x5.demo</string>   //ipa包的应用包名Bundle ID  
            <key>bundle-version</key>
            <string>5.3.2</string>                 //ipa包的版本号
            <key>kind</key>
            <string>software</string>
            <key>title</key>
            <string>X5 App download</string>
    </dict>


    3、将plist文件放在https服务目录下。例子中是放在了新建的apps文件夹下。
    4、使用itms-services参数访问中转的plist描述文件。
    itms调用参考:onclick="window.location.href='itms-services:///?action=download-manifest&url=https://x.justep.com/apps/x5.plist'"

  • 相关阅读:
    Maria 与Ann的故事
    引语
    Preface
    Chapter 1 Foundation
    Roman to Integer
    Integer to Roman
    Container with most water
    palindrome number
    String to Integer (atoi)
    Reverse Integer
  • 原文地址:https://www.cnblogs.com/zero-zql/p/4972637.html
Copyright © 2011-2022 走看看