XCode 7 iOS 9 app submission failed.

ERROR ITMS-90339: "This bundle is invalid. The Info.plist contains an invalid key 'CFBundleResourceSpecification' in the bundle Scout [Scout.app]


Build with XCode 7 (installed from Mac Store) (Build 7A220). Submitted with Organizer and application loader. Same thing happened with XCode 7 GM.


There is no "CFBundleResourceSpecification" in my info.plist file.


Ideas?

I ended up removing


"CODE_SIGN_RESOURCE_RULES_PATH[sdk=*]" = "$(SDKROOT)/ResourceRules.plist";


for both debug and release configurations from the .pbxproj file and that seemed to the trick.

The problem is that after you remove you start receiving 'ResourceRules.plist: cannot read resources' error if you are building it automatically. What should we do? I've failed to find any working solution for Xcode 7 for automatically building/uploading to TestFlight.

I have the same issue while using jenkins to build app automatically. If remove CODE_SIGN_RESOURCE_RULES_PATH, the build will fail.

if not , the ipa file will be rejected by itunes. Any one know the workaroud?

+1

Same issue here.


I tried remove `--sign ***` from the `xcrun` command line and it seems work ok for me.

Or maybe I could try to edit the `PackageApplication` script to comment out the `resource-rules`.

This seems to be a bug Apple forgot to fix since the use of

resource-rules has been deprecated in facts. More details for Jenkins users here: http://cutting.io/posts/packaging-ios-apps-from-the-command-line/


Or short version here: http://stackoverflow.com/a/32762413/5373468

I am using Apache cordova to create my app.


I have commented this line in the build.xcconfig fil, but I am still getting the same issue.

//CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist


Also, I have validated and I do not have any entry with "CFBundleResourceSpecification" in my info.plist file.


Any feedback on what else I can do?

thanks

Step 1- remove the build setting CODE_SIGN_RESOURCE_RULES_PATH if you have anything set there.

If you build and export using the Xcode UI then this should fix your problem. If you build from the command line continue.

Step 2- if you build from the command line then as of Xcode 7 you should use xcodebuild (instead of PackageApplication) to produce the .ipa file. xcodebuild has a new -exportArchive option to create an .ipa that works more like Xcode Organizer. See answer here for details: http://stackoverflow.com/a/32845990/2316115

XCode 7 iOS 9 app submission failed.
 
 
Q