无法检查应用程序包。

4

我有XCode 6(版本6.0.1)的最终版本。在我的项目中,运行时遇到问题。

我得到了:

"应用程序安装失败 - 无法检查应用程序包。"

如果我再次运行项目,它就可以正常运行。但是,每隔一次运行就会出现这个错误,紧接着应用程序就可以正常运行。

在XCode 5中没有这个问题。


我也是。你找到任何解决方案了吗? - Jing
我有同样的问题。 - daviesgeek
最后不得不创建一个新项目。 - Jing
2个回答

0

我遇到了同样的问题,无法安装ipa文件。它总是以错误信息“无法检查应用程序包”和一些设备控制台警告结束。

Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options   dictionary when installing an app.
Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: installing app with unknown bundleID
.
.
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 -[MIBundle _validateWithError:]: 28: Failed to load Info.plist from bundle at path
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 + [MIInstallable installablesAtURL:packageFormat:userOptions:error:]: Failed  to create bundle for …

花了几个小时,我通过在info.plist中添加“应用程序需要iPhone环境”来修复了它。

<key>LSRequiresIPhoneOS</key>
<true/>

0
如果您已经移动或复制了一个名为resourcesresource的文件夹到您的项目中,请尝试重命名它。然后执行clean操作。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接