应用安装失败:应用不允许使用Info.plist密钥 [英] App Installation Failed: App has disallowed Info.plist key

查看:77
本文介绍了应用安装失败:应用不允许使用Info.plist密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我在尝试将应用程序安装到iOS 9设备上时遇到了错误,这只是我现在能告诉我的一个区别,就是我已将设备从iOS 8.4.1更新到iOS 9. /p>

我正在使用Xcode 7,Beta 6安装,并且收到的错误消息为应用程序安装失败:未知错误."

我怀疑,更有用的错误消息是在安装过程中从设备日志中获得的,似乎与此有关的错误消息是:

Sep 14 13:10:47 Bill-Luhmanns-iPhone installd[50] <Error>: 0x16e1bb000 -[MIExecutableBundle hasOnlyAllowedWatchKitAppInfoPlistKeysWithError:]: 1033: WatchKit app has disallowed Info.plist key: CFAppVersion

然后还有一些其他日志,它们从不同的区域发出相同的消息.

有什么主意可以让我在plist文件中获得允许该键的目标吗?我检查了文件是否在正确的位置,密钥是否存在等,等等.作为最后的努力,我删除了衍生数据并重新启动了mac和设备,但无济于事.清理项目也无济于事.

任何人都熟悉的建议或解决方法?我真的很感激,谢谢!

解决方案

是说与您的监视工具应用程序相关联的info.plist具有无效的密钥-CFAppVersion.我想您会发现,从监视工具包应用的info.plist中删除该密钥将解决您的构建问题.

Just recently I've run into errors while trying to install my app to my iOS 9 device, only difference that I can tell between now and then being I've updated my device to iOS 9 from iOS 8.4.1.

I'm installing using Xcode 7, beta 6, and the error I get says "App installation failed: Unknown error."

The, I suspect, more helpful error message I get is from the device logs during the install, the error message that seems to pertain to this is:

Sep 14 13:10:47 Bill-Luhmanns-iPhone installd[50] <Error>: 0x16e1bb000 -[MIExecutableBundle hasOnlyAllowedWatchKitAppInfoPlistKeysWithError:]: 1033: WatchKit app has disallowed Info.plist key: CFAppVersion

Then there are a handful of other logs that give the same message from different areas.

Any ideas how I can get the target to allow that key in the plist file? I've checks that the file is in the right place, that the key exists, etc. etc. As a last ditch effort, I've deleted my derived data and restarted both mac and device, all to no avail. Cleaning the project also didn't help.

Any suggestions or ways to fix this that anyone is familiar with? I'd really appreciate it, thanks!

解决方案

It's saying the info.plist associated with your watch kit app has an invalid key - CFAppVersion. I think you'll discover that deleting that key from your watch kit app's info.plist will fix your build issue.

这篇关于应用安装失败:应用不允许使用Info.plist密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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