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
Service Workers and iOS/Safari
How to Select Range of Values When Using Arc4Random()
How to Get Visible Viewcontroller from App Delegate When Using Storyboard
Uicollectionview Registerclass: Forcellwithreuseidentifier Method Breaks Uicollectionview
What Do Horizontalaccuracy and Verticalaccuracy of a Cllocation Refer To
Can't Install Watchkit App on Apple Watch
Still Not Optimized for iPhone 6 and iPhone 6 Plus
Corelocation Heading Base on Back Camera (Augmented Reality)
How to Convert an iPhone Osstatus Code to Something Useful
Remembering Scroll Position on Uitableview
How to Check If Device Can Make a Phone Call (iOS 8)
How to Set Uiviewcontroller "Extend Edges" Properties
Adding Frameworks to Project in Xcode 5 and Having *Relative* Paths Added
How to Get Current Longitude and Latitude Using Cllocationmanager-Swift
Swiftui Datepicker Jumps Between Short and Medium Date Formats When Changing the Date