I am trying to submit my first app to the app store. When I compile (the setting is set to "Distribution"), I get the following error:
CodeSign build / Distribution iphoneos / xxxxx.app cd / Users / xxxxxxx / Documents / xxxxxx SetEnv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocateDevelopPervelopePervelopePervelopePhonePerplexplenpleoperplenplameplenplayerplenplen usr / bin: / Developer / usr / bin: / usr / bin: / bin: / usr / sbin: / sbin "/ usr / bin / codesign -f -s" iPhone Distribution: XXXXXXXXXX "--resource rules = / Users / XXXXXXXX / Documents / Legginit / assemblies / Distribution iphoneos / xxxxxxx.app / Entitlements.plist --entencesments / Users / xxxxxxxx / Documents / xxxxxxx / build / xxxxxx.build / Distribution-iphoneos / xxxxxxx.build / xxxxxx.xcent / Users / xxxxxxx / Documents / xxxxxx / build / Distribution -iphoneos / xxxxxxx.app
/Users/xxxxxxx/Documents/xxxxxx/build/Distribution-iphoneos/xxxxxx.app: invalid resource selection rules Failed to execute the command / usr / bin / codesign exit code 1
I double checked the following:
1) The code signing identifier is set to "Any device for iPhone OS", and on the right is the registration certificate.
2) I created Entitlements.plist unchecked get-task-allow.
3) The packet identifier corresponds to the distribution distribution profile.
4) Access to Keychain Access has two certificates: iPhone Developer and iPhone Distribution.
There are many threads with people who get this error, but I looked at them all morning and I see nothing else than what I did.
Any help is greatly appreciated.
Stephen
source
share