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

查看:165
本文介绍了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

推荐答案

我的app分发也遇到了这个问题。我们能够通过'伪造'.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天全站免登陆