Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application with private framework "could not inspect application package" in Xcode 6. Missing framework info.plist

My application built and ran just fine in Xcode 5. I upgraded to Xcode 6 yesterday and now the application builds, but will not run on my device or in simulator.

I'm getting the error "could not inspect application package" when trying to run.

I checked my device logs (XCode > Windows > Devices) and after trying to run the application, I get the following error in my log:

Sep 23 10:32:46 XXXXXX's-iPhone streaming_zip_conduit[5476] : __dispatch_source_read_socket_block_invoke:203: Failed to install application at file:///var/mobile/Media/PublicStaging/ActivateMachines.app/ : Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x1355075a0 {Error=PackageInspectionFailed, ErrorDescription=Failed to load Info.plist from bundle at path /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.5lz5TS/extracted/ActivateMachines.app/Frameworks/GeLoSDK.framework}

I've checked that the GeLoSDK.framework does have a Resources/Info.plist file.

I'm using this framework: https://github.com/GeLoInc/GeLoSDK-iOS

It should be linked properly, as it was working on Xcode 5.

Did something change in Xcode 6 that I'm not aware of? Thanks for any help.

like image 542
AnthonyMDev Avatar asked Sep 23 '14 17:09

AnthonyMDev


1 Answers

I had this problem with the GoogleInteractiveMediaAds.framework:

com.apple.CoreSimulator.CoreSimulatorService[522]: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=PackageInspectionFailed, ErrorDescription=Failed to load Info.plist from bundle at path /Users/XXX/Library/Developer/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) failed, Resource busy (16)

What worked for me was removing GoogleInteractiveMediaAds.framework from the Embed Frameworks in Build Phases for my app target.

like image 62
Chris Livdahl Avatar answered Oct 16 '22 23:10

Chris Livdahl