Xcode Error Message: "could not inspect application package"

Solution 1:

For me, I copied a folder into Xcode 4.6.2 with the name "Resources". When Xcode asked, I created the folder references for any added folders.

Every time I did this, I would have to goto the Derived applications directory, and delete the build directory for my project to get it working again.

Solution: Do not copy a folder by reference into Xcode with the name "Resources". Rename it to something else other than Resources.

Very annoying error.

Solution 2:

also try just doing a Product->Clean

Solution 3:

When I replaced the 'Resources' folder on the xcode, by mistake the below option was selected.

Create folder references for any added folders

But the correct option should be,

Create groups for any added folders

Taking care of the above option is important point in saving time ad fixing the above issue. (It is one of the possibilities for getting this error).

Solution 4:

the problem is with your bundle name. make sure you assign an bundle id to project, target and info.plist. i had the same issue, it fixed after adding the bundle id :)

Solution 5:

I have Created a group named "Resources", and then select all resource under Resources folder and select "Create folder references for any added folders"