Xcode: Could Not Inspect the Application Package

Xcode: Could not inspect the application package

This can happen with Xcode 6 and iOS 8 if a product name contains non-latin characters.
In this case changing product name to the one with only latin characters for debug builds fixes this problem.

“could not inspect application package” Xcode

It sounds like the third party files might include compiled code which is not signed by you. If so, you can use iReSign to resign them using your own certificate. You can also use the command line:

codesign -f -s "iPhone Developer: Aaron Brager (XXXXXXXXXX)" nameOfAppToSign.app

Replace the example identity with your own (you can man codesign to read more about this command).

You can circumvent this by not including the compiled code. It may not be necessary - are you including an example app which isn't necessary for the framework to function?

If this answer doesn't help, providing the name of the framework and showing which files you included would be helpful.

App installation failed: Could not inspect application package

Looks like the problem was caused by an "é" character in the name of the app. I changed the name of the app, and that fixed it.

Could not inspect the application package when using device

Fixed it myself. I was importing a framework in my bridging header that I previously removed and Xcode gave me no error I guess because I didn't call the framework anymore?

Steps:

  • remove the unused/nonexistent framework for bridging header
  • cmd+shift+k
  • quit Xcode
  • find your project's build folder and trash the contents of the Intermediates and Products folders
  • open your project and run

This may be overkill but it works now. I hope this helps.



Related Topics



Leave a reply



Submit