解决iOS8安装企业版无反应问题

61 篇文章 0 订阅
17 篇文章 0 订阅
 
问题描述:iPhone5S IOS8.1.2原来的企业APP下载后无法安装,点击安装无反应

方法一:
还原网络设置
(注:我想既然有缓存问题引起的(原因看方法二),清除缓存就可以恢复。方法二有个不好的下载中会有2个APP,安装成功后正常。方法一不好的就是网络密码要重新输入了,测试了3个iPhone5s,IOS8.1.2设备,2个可以1个不成功)

方法二:(来着网络转)
iOS7可以下载没有任何问题,iOS8发现挂在官网上的企业版的app点击了提示是否安装应用程序,但是确认以后没有反应,找了很久,都没有发现问题。后来查看了的deviceconsole发现安装的时候出现
<code><span style="color:#ff00;"><span style="font-size: 16px;"><span>LoadExternalDownloadMani<wbr>festOperation</wbr></span><span>:</span><span> </span><span>Ignore</span><span> manifest download</span><span>,</span><span> already have bundleID</span><span>:</span><span> com</span><span>.</span><span>mycom</span><span>.</span><span>MyApp</span></span></span></code>

后来查资料外国开发者推测是iOS8的一个bug:

The biggest issue for us is that we can notreproduce this onany of our devices. Our suspicion is that iOS 8has some internalcache with bundle IDs and just doesn't install abuild if it thinksthat an app with this bundle ID is alreadyinstalled. As theinstallation doesn't even start, we think that iOSis matching thebundle identifier from the manifest plist againstthis cache.

它会寻找是否ios缓存的identifier与bundleidentifier在plist文件中匹配,如果匹配,它会认为已经安装了,就不会有反应。上面解释的很清楚。所以解决办法就是在plist文件中修改bundle Identifier。

比如你的plist文件的BundleID是com.mycom.MyApp,则修改成com.mycom.MyApp.fixios8。(创建一个假的bundleID,可以随便取,这样ios就不会认为你已经安装。记住是修改plist文件的bundleID,不是应用程序的bundleID)

发布以后就发现可以了。只是如果你已经安装了app,则会出现一个新的下载的空白icon,因为这个app的bundleID与你plist的bundleID不一致,当下载完成后,会覆盖原本app,因为它会检测到下载安装的app的bundleID已经存在并且覆盖。


参考:http://blog.sina.com.cn/s/blog_64cfe8f00102va8o.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值