MDM 用itms-services给ios设备推送应用 ios8以上版本 更新安装失败

来源:互联网 发布:建筑方案设计软件 编辑:程序博客网 时间:2024/05/20 16:14

使用itms-services  生产plist文件就可以给设备安装应用。

原来ios7之前,应用更新直接推送一个更高版本的就ok了。

但是从ios8以后就不行了,直接就会报安装失败。

网上查了好久,终于找到解决方案。

For example, in your plist:

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

change com.mycom.MyApp to 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.

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.

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.

经过验证是可以的。就是在bundle-identifier加一个ios8fix。更新的时候会同时有两个图标,安装后会变成一个。ios9同样可以。
1 0
原创粉丝点击