How To Fix "App installation failed: Could not inspect application package" Error When Installing App In XCode



TODO:

Have you ever got the error message "App installation failed: Could not inspect application package" when you try to deploy your swift app to your iPhone?

 

SOLUTION:

There are many causes but what my issue was was this.  I had an info.plist file specified in the "Copy Bundle Resources" section in "Build Phases".  Once I removed that, my app installed.

There are also a series of other solutions at this site that may help if you do not have the issue above.

 

NOTES:

The app would work in the Simulator just not install to the iPhone