I have apps that worked fine uploading to itunes connect a week ago, but today they got rejected, because they were not iOS 4 compatible, so I followed the steps at: http://developer.appcelerator.com/blog/2010/05/titanium-and-iphone-os-4.html
The apps build and run fine, but whenever I distribute I get the error: The binary you uploaded was 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.
I made no other changes but install gm 4 and and installing libticore-7
why would I be getting this error
I finally figured it out, You have to edit, Entitlements.plist in order to use the wildcard, this must be something new in iOS4
Projects > Project_name > build > iphone > Resources > Entitlements.plist
<?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>##########.com.nuwex.appname</string> <key>get-task-allow</key> <false/> <key>keychain-access-groups</key> <array> <string>##########.com.nuwex.appname</string> </array> </dict> </plist>
I was finally able to submit my app using the wild card! the 10 #'s are the app seed from your provisioning profile.
Looks to me like you can no longer use a wildcard for distributing your apps. I am able to upload if I use my fullname and generate another Provisioning profile. Can anyone else verify this?
I am also trying to submit to the app store, but am getting the same error "The application-identifier entitlement is not formatted correctly…"
I tried editing the Entitlements.plist file in the project folder, but it keeps getting regenerated. And the regenerated one appears to be mostly blank. :(
I viewed the contents of the application in the binary file that I was trying to send to Apple, but it didn't have any file named Entitlements.plist in it, is there supposed to be?
Sadly, my application compiles just fine and runs in the simulator as well as on my iPod device without any problems.
I see now, this is a bug in mobilesdk 1.3.2:
Darn. I'll need to wait for 1.4.0.
I never use wildcard for distribution and so far, no issues with iOS4.