iOS 企业证书分发

用户端流程

  1. 使用 Safari 打开落地页 (http&https)
  2. 跳转 plist 文件 (https only !!!)
  3. 下载 .ipa (http&https)
  4. 跳转 设置 -> 通用 -> 描述文件,添加信任

注意事项

  • 网页端分发时,直接链接到 plist,ipa 信息包含在 plist 中。plist 模板在本文最底部,具体参照的是 这篇文章

  • 网页端分发时,跳转链接格式为:

    itms-services://?action=download-manifest&url=你的plist下载地址

  • 网页端分发时,plist 文件的下载地址需要是 https

直接打开描述文件

Safari 版本

链接 iOS 9 iOS 10
href = "prefs:root=General&path=ManagedConfigurationList"
href = "你的 .mobileprovision 文件链接"

in-App 版本

URL Scheme iOS 9 iOS 10
prefs:root=General&path=ManagedConfigurationList
App-Prefs:root=General&path=ManagedConfigurationList

plist 模板

<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>
                            http://a.szdtoo.com.cn/download/download.do?fileName=cf58ffab-784d-4071-8413-d68c55467b76.ipa
                        </string>
                    </dict>
                </array>
                <key>metadata</key>
                <dict>
                    <key>bundle-identifier</key>
                    <string>com.parent.szdtoo.yijiayi</string>
                    <key>bundle-version</key>
                    <string>1.0</string>
                    <key>kind</key>
                    <string>software</string>
                    <key>title</key>
                    <string>1+1教育</string>
                </dict>
            </dict>
        </array>
    </dict>
</plist>
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容