I was trying to submit my app to the App store when the Xcode validation suddenly returned this error:
This bundle is invalid. the application-identifier entitlement is not formatted correctly; it should contain your 10 character App ID seed, followed by a dot, followed by your bundle identifier: XXXXXXXXXX.com.mycompany.*My App ID in tiap.xml is 'com.mycompany.myappname'
The generated Entitlements.plist file in the build contains:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>application-identifier</key> <string>XXXXXXXXXX.com.mycompany.myappname</string> <key>get-task-allow</key> <false/> <key>keychain-access-groups</key> <array> <string>XXXXXXXXXX.com.mycompany.myappname</string> </array> </dict> </plist>So everything seems fine. I have no custom Entitlements.plist file.
My provisioning distribution profile also contains the right App ID string (XXXXXXXXXX.com.mycompany.*) and never gave problems in the past.
I submitted my app several times before so this must be either Titanium or Xcode I assume. I'm using: Titanium SDK 2.1.2 GA, Xcode 4.5, IOS6, build for iPhone and iPad.
Do you have any suggestions to solve this? Thanks!
After looking in Apple's documentation I found that the problems was in my provisioning profile. Use of Wildcards is more strict now than before so you're not allowed to use them for distribution. I created a new App ID in provisioning portal without wildcards and updated the provisioning profiles. This solved the problem. I didn't make any changes in the entitlements.plist file which some other forums suggest.
Thanks you! Martin van Mierloo.
Think you can help? Login to answer this question!