I’ve re-issued certificates, re-created mobileprovisions, re-built the app, re-zipped, rebooted, etc. and still I get the same errors form the Application Uploader:
* iPad: application executable contains unsupported architecture(s): i386
* Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate.
* Unable to extract codesigning entitlements from your application. Please make sure that AppName.app is a valid Mach executable that’s properly codesigned.
Any ideas? At this point I’m down to pure voodoo. [import]uid: 40285 topic_id: 10155 reply_id: 310155[/import]
What kind of certificate did you use?
You are trying to upload to iTunes? You need a distribution certificate. Not a developer, nor an ad-hoc certificate.
c. [import]uid: 24 topic_id: 10155 reply_id: 37049[/import]
Yes, I’m trying to upload to iTunes, and I’m using the distribution certificate.
The above errors come from the Application Uploader. iTunes Connect is currently in the “Waiting for Upload” mode.
[import]uid: 40285 topic_id: 10155 reply_id: 37050[/import]
lets not forget the obvoius :
you are in xcode 4 right?
you are building for device not xcode …
c
[import]uid: 24 topic_id: 10155 reply_id: 37053[/import]
[Hangs head in shame]
Old version of Xcode. Downloading 4 on this machine now.
Thanks Carlos [import]uid: 40285 topic_id: 10155 reply_id: 37054[/import]
whack !!!

keep me posted
c. [import]uid: 24 topic_id: 10155 reply_id: 37056[/import]
The correct value for the certificate, did not work I get an error: "The application does not codesign verification.
The problem is the following line:
Authority = iPhone Developer: My Name (XXXXXXXXX)
While selecting the correct project settings for the profile distribution was compiled with XCode developer certificate.
Finally resolved: Right click on the “Objectives” -> Get Info -> and there was selected (do not ask me why) the certificate distribution evil instead of right.
I corrected that and it was finally accepted. Try this if it help you to solve your problem.
…
application developers
[import]uid: 62196 topic_id: 10155 reply_id: 37112[/import]