iOS 8 上的企业应用更新分发 [英] Enterprise App Update Distribution on iOS 8

查看:37
本文介绍了iOS 8 上的企业应用更新分发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过 itms URL 分发的企业应用程序:

I have an enterprise app that I'm distributing via an itms URL:

itms-services://?action=download-manifest&url=itms-services://?action=download-manifest&url=https://$MY_PLIST_URL.plist

在 iOS 7 上,下载和更新都可以正常工作.但是,在 iOS 8 上,我收到错误消息:

On iOS 7, both downloads and updates work fine. On iOS 8, however, I get the error:

LoadExternalDownloadManifestOperation: Ignore manifest download, already have bundleID: com.mycom.MyApp

在我的 plist 中,我有

In my plist, I have

<key>bundle-identifier</key>
<string>com.mycom.MyApp</string>
<key>bundle-version</key>
<string>0.2.2</string>

在我的 iOS 8 应用上,我运行的是 0.2.1 版

and on my app on iOS 8, I'm running version 0.2.1

推荐答案

我在我们的应用程序分发中也遇到了这个问题.我们能够通过伪造"用于下载分发的 .plist 中的包标识符来解决这个问题,同时保持我们的 ipa 包标识符相同.

I've also encountered this problem with our app distribution. We were able to fix this issue by 'faking' the bundle identifier inside the .plist using for download distribution, keeping our ipa bundle identifier the same.

例如,在您的 plist 中:

For example, in your plist:

<key>bundle-identifier</key>
<string>com.mycom.MyApp</string>
<key>bundle-version</key>
<string>0.2.2</string>

com.mycom.MyApp 更改为 com.mycom.MyApp.ios8fix

将使用新的应用图标安装该应用,该图标将在安装后消失.

The app will be installed using a new app icon, which will disappear after install.

如果您已经安装了该应用程序,您甚至会在安装过程中看到一个新的应用程序图标.安装后此图标消失,但您现有的应用程序版本将被更新.全新安装后,安装图标将消失,而已安装的应用程序图标将显示在原位.

If you already have an install of the app, you will even see a new app icon during install. After the installation this icon disappears, but your already existing version of the app will be updated. With a clean install the installation icon will disappear and the installed application icon will appear in place.

看起来 iOS 8 正在缓存包标识符并将请求的安装与这些缓存的安装进行比较.大多数情况下,您只会看到一个要求安装的弹出窗口,但没有任何反应.

It looks like iOS 8 is caching the bundle identifiers and compares the requested installs with these cached ones. Most of the times you'll only see an popup asking for install, but nothing happens.

正如肖恩已经注意到的,这出现在 xCode 6 GM 和官方 iOS 8 版本中.以前从未安装过您的应用程序的设备在安装应用程序时没有问题.

As Sean already noticed, this appears with xCode 6 GM and the official iOS 8 version. Devices which never installed your application before will have no problems to install the app.

这篇关于iOS 8 上的企业应用更新分发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆