• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

iOS 8.1 企业版分发

[复制链接]
菜鸟教程小白 发表于 2022-12-12 12:10:48 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题

我有一个使用 xcode 6.1 构建的应用程序。

我创建了一个 plist 来配合它。

它在 iOS 8.0.2 及之前的版本上下载得很好,但是它总是无法在任何 iOS 8.1 设备上安装。

这是我正在遵循的步骤。

使用创建的证书和配置文件归档 ipa 文件 在您的服务器中托管 plist 和 ipa 文件

在 src 中包含带有 href 标记的下载 html 文件

"itms-services://?action=download-manifest&url=https://mypassagewaytest.gwic.com/gw/premcalc/iPremium.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>
                    <string>https://mypassagewaytest.gwic.com/gw/premcalc/iPremium.ipa</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.gwic.premiumcalculator</string>
                <key>bundle-version</key>
                <string>1.3.0</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>iPremium</string>
            </dict>
        </dict>
    </array>
    </dict>
    </plist>



Best Answer-推荐答案


好的, 这是我在为此苦苦挣扎一天后发现的。

这就是你的 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>display-image</string>
                    <key>needs-shine</key>
                    <true/>
                    <key>url</key>
                    <string>https://downloadLocation.com/icon_57x57.png</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>full-size-image</string>
                    <key>needs-shine</key>
                    <true/>
                    <key>url</key>
                    <string>https://downloadLocation.com/icon_512x512.png</string>
                </dict>
                <dict>
                    <key>kind</key>
                    <string>software-package</string>
                    <key>url</key>
                    <string>https://downloadLocation.com/iOSBuild.ipa</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.company.Product.g34askas6jas77skks6777s7s7s77</string>
                <key>bundle-version</key>
                <string>x.x</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>appName</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>

这里有有趣的东西

  1. 从 8.0 开始,您的 Plist 中需要有“display-image”和“full-size-image”字典键。对我来说,除非我有这些 key ,否则应用程序不会在 8.0 上下载。

  2. 您需要在包标识符的末尾附加一些额外的字符。就我而言,该应用程序未安装在某些 8.1 设备上。我不知道为什么需要这样做,但这对我有用。我最好的猜测是它会造成某种缓存爆发。

希望这对某人有所帮助。

关于iOS 8.1 企业版分发,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26536018/

回复

使用道具 举报

懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注0

粉丝2

帖子830918

发布主题
阅读排行 更多
广告位

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap