views:

217

answers:

2

Hello! I'm going crazy! I'm trying to upload the binary of my first application but I have always the same error! "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate."

I did everything, EVERYTHING!!

I created the request for the certificate, used it for both developer and distribution certificate, created the provisioning profile (12 times!!!) always cleaning my keychain and my Xcode deleting the old certificates and profiles.. I reboot the machine, reboot Xcode, the log is correct, but... I can't upload my app!!!! Checked if my iPhone is connected (i tried with iPhone disconneted too). I checked the certificate in both my project settings "Distribuition" Configuration (duplicate of "Release" configuration) and in my target settings. Reveal in finder, compress the app and sent the zip... I tried with Application Loader and iTunes connect online.. but nothing! NOTHING!! I've spent 8 hours! And again i can't have my app uploaded!!! I'm really going crazy!

Can anyone help me pleeease? Thx!

A: 

Been there - done that.

Make sure your certificate is in the "login" keychain, and that that i the default keychain (highlighted bold) in Keychain Access

Make sure you have both the private and public keys for your certificates and that they are valid. You will also need the Apple Worldwide Developer Relations Cert Authority installed.

I assume you have dragged the profile into xcode - easiest to drop them onto the xcode icon on the dock.

Make sure as Paul says, that the bundle identifiers all match up

You say you checked the certificate in the distribution configuration. Its not the certificate you need to concentrate on but the provisioning profile.

Select your Release config top left, click on the project under groups & files and do cmd I. Select build tab and then pick distribution in the top left. Then look at the Code Signing Identity. Pull down the dropdown list and make sure you have the right application identifier, the right profile and the right certificate. Don't use the Automatic Profile Selector.

Hope one of those steps helps!

Andiih
A: 

I'm sorry for this "silly" comment.. but i've done all these things... all...

  • profile for AppStore (checked - OK)
  • the certificate is in the login (checked - OK)
  • public and private keys (checked - OK)
  • Apple Worldwide Developer Relations Cert Authority installed (checked - OK)
  • bundle identifiers in the configuration "Distribuition", in project settings com.nozio.hotels, in target settings com.nozio.hotels, in the profile com.nozio.hotels (checked - OK)
  • Code Signing Identity: currently match witch the unique profile and the unique certificate I've in my miniMac, without che automatic profile selector (checked - OK)

Still doesn't work.. I've Leopard 10.5.8 and Xcode 3.1.4 ..