zoukankan      html  css  js  c++  java
  • IOS 安装网页

    一般使用企业签名的iOS安装包 都需要一个下载地址,像蒲公英什么的 都有下载限制,所以求人不如求己。

    内容也是复制别人的 :https://lzw.me/a/itms-services-ios-install-ipa.html

    不复杂 拿过去改几个地方就好 。

    1、服务器升级https

    2、创建 test.plist 文件

    3、创建 下载页面 

    步骤1: 略过

    步骤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>
                            <!-- 注意:IPA文件URL -->
                            <string>https://www.xxx.com/install/xxx.ipa</string>
                        </dict>
                        <dict>
                            <key>kind</key>
                            <string>display-image</string>
                            <key>needs-shine</key>
                            <true/>
                            <key>url</key>
                            <!-- 注意:应用程序icon url, 57x57 -->
                            <string>https://www.xxx.com/install/xxx.jpg</string>
                        </dict>
                    </array>
                    <key>metadata</key>
                    <dict>
                        <key>bundle-identifier</key>
                        <!-- 注意:应用程序identifier -->
                        <string>com.dp.xxx.webView</string>
                        <key>bundle-version</key>
                        <string>1.0</string>
                        <key>kind</key>
                        <string>software</string>
                        <key>subtitle</key>
                        <string>lzw.me</string>
                        <key>title</key>
                        <!-- 注意:应用程序名称 -->
                        <string>xxx</string>
                    </dict>
                </dict>
            </array>
        </dict>
    </plist>

    步骤3: 创建下载文件

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
    </head>
    <body>
        <h1>测试IOS安装</h1>
        <a href="itms-services://?action=download-manifest&url=https://www.xxx.com/install/package/test.plist">点此安装</a>
    </body>
    </html>

    步骤4: 把这些文件丢到服务器上面的相应位置,

    步骤5:把链接丢出来 ,搞定

    步骤6:啥? 安装失败?

    步骤7: 检查签名 ---> 正常|| 掉签了

    步骤8: https 正常

    步骤9:设备-设置-通用-描述文件-信任 

    步骤10:safari 浏览器 下载路径 ——》我的设备

    步骤11:啥? 还不行? 不知道了,没有遇到。换种方式吧,用testflight也挺香的。

    步骤12:为啥不用蒲公英? 那玩意 非要我分发,提交一大堆截图,不想搞。

     

  • 相关阅读:
    使用TFS CI 又想保留服务运行状态的简单方法
    【知乎】二战中日本陆军的建制
    缓存你的BITMAP对象
    Android 多种方式正确的加载图像,有效避免oom
    GitHub进一步了解
    响应式编程,是明智的选择
    Android 主题动态切换框架:Prism
    Android Fragment使用(二) 嵌套Fragments (Nested Fragments) 的使用及常见错误
    ClassLoader工作机制
    Java——泛型(最易懂的方式讲解泛型)
  • 原文地址:https://www.cnblogs.com/yc-c/p/14478967.html
Copyright © 2011-2022 走看看