使用私有框架的应用程序"无法检查Xcode 6中的应用程序包".缺少框架info.plist

Ant*_*Dev 4 iphone xcode ios xcode6

我的应用程序在Xcode 5中构建并运行得很好.我昨天升级到Xcode 6,现在应用程序构建,但不会在我的设备或模拟器中运行.

我在尝试运行时收到错误"无法检查应用程序包".

我检查了我的设备日志(XCode> Windows>设备),在尝试运行应用程序后,我在日志中收到以下错误:

9月23日10:32:46 XXXXXX-iPhone streaming_zip_conduit [5476]:__ dispisp_source_read_socket_block_invoke:203:无法在file:///var/mobile/Media/PublicStaging/ActivateMachines.app/安装应用程序:Error Domain = LaunchServicesError Code = 0"操作无法完成.(LaunchServicesError错误0.)"UserInfo = 0x1355075a0 {Error = PackageInspectionFailed,ErrorDescription =无法从路径/private/var/mobile/Library/Caches/com.apple上的bundle加载Info.plist. mobile.installd.staging/temp.5lz5TS /提取/ ActivateMachines.app /框架/ GeLoSDK.framework}

我已经检查过GeLoSDK.framework确实有一个Resources/Info.plist文件.

我正在使用这个框架:https: //github.com/GeLoInc/GeLoSDK-iOS

它应该正确链接,因为它正在使用Xcode 5.

我不知道Xcode 6中有什么变化吗?谢谢你的帮助.

Chr*_*ahl 5

我在使用GoogleInteractiveMediaAds.framework时遇到了这个问题:

com.apple.CoreSimulator.CoreSimulatorService [522]:错误域= LaunchServicesError代码= 0"(null)"UserInfo = {Error = PackageInspectionFailed,ErrorDescription =无法从路径/ Users/XXX/Library/Developer中的bundle加载Info.plist /CoreSimulator /Devices/B5E6B8A7-017D-4FC2-9C22-0698DFD0AC13/data/Library/Caches/com.apple.mobile.installd.staging/temp.Ha6x7D/extracted/XXX-ios.app/Frameworks/GoogleInteractiveMediaAds.framework} configd [54]:inet_set_autoaddr(en0,1)失败,资源忙(16)

对我来说有用的是从我的应用目标的Build Phases中的Embed Frameworks中删除GoogleInteractiveMediaAds.framework.


Ant*_*Dev 3

我能够通过将框架移动到“/Library/Frameworks”并将其添加到项目中来构建应用程序。

以前,我一直通过将框架直接与应用程序捆绑并手动链接二进制文件来使用该框架。这在 Xcode 5 中运行良好,但在 Xcode 6 中则不然。

我不确定这是否是 Xcode 6 中的新错误,或者发生了什么变化,但使用“/Library/Frameworks”解决了问题。