无法检查应用程序包

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

“应用程序安装失败 – 无法检查应用程序包。”

如果我再次运行项目,它运行正常。 另一次运行,问题再次……等等所以每次第二次运行都会在此错误中结束,就在应用程序运行正常之后。 我在XCode 5中没有问题。

如果已将名为resourcesresource的文件夹移动或复制到项目中,请尝试重命名它。 然后执行clean

我有同样的问题,而且无法安装ipa。 它始终以错误“无法检查应用程序包”结束。 和设备控制台中的一些警告

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

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

 LSRequiresIPhoneOS