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.
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.
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.
Related Topics
Facebooksdk(4.1.X) Custom Login UI Button - Swift(1.2)
How to Start an Ibeacon Transmitter in the Background
How to Get 18-Digit Current Timestamp in Swift
How to Ensure to Run Some Code on Same Background Thread
Perform Segue from App Delegate Swift
How to Only Override a Method Depending on the Runtime System iOS Version
Font Descriptor Returns Nil in iOS 8
Dynamic Collectionviewcell in Tableviewcell Swift
Asynchronous Upload with Nsurlsession Will Not Work But Synchronous Nsurlconnection Does
Errors Building Xcode Project After Adding in Run Script Fatal Error: Lipo: Input File
What Is the Swift Preprocessor Equivalent to iOS Version Check Comparison
How to Use Multiple Segues with One Uitableviewdelegate
How to Delete an App Which Is Waiting for Upload
Build Video from Uiimage Using Swift