views:

601

answers:

3

The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate

getting this error message.. since 2 dayz.. tried all googling.. its still there

+3  A: 

If you have followed the instructions in http://developer.apple.com/iphone/manage/distribution/index.action, then I can come up with the following things that could cause this error:

  • The certificate/keys/provisioning profile used for signing were incorrect
  • The certificate has expired
  • The zip is broken (it contains a couple of symbolic links that will get broken if you don't make the zip as is told in the instructions)
  • There is entitlements.plist file in your app bundle
Lauri
A: 

This part of the process can be very frustrating. I'm sorry you've already spent two days on this but it sounds like you are close.

To follow on from Lauri's response did you verify the information in the "Verifying a Successful Distribution Build" section of the instructions for building the application for distribution?

Specifically checking that you have included the correct "embedded.mobileprovision” file in the build as well as verifying that the app was signed with the correct certificate?

Bart Gottschalk
i tries all these u suggested..but still not working
org.life.java
Please include the build transcript output for "codeSign" and "embedded.mobileprovision". This will allow us to help you more specifically. Without that we are just making general suggestions. Also, did you try Hunter's suggestion above to try using the Application Uploader?
Bart Gottschalk
solved..gone through almost all the forums finally solved..
org.life.java
problem was developer provisining profile was configured..
org.life.java
A: 

After two days of fighting this problem, the solution for me was to make sure there are no two files that differ only in capitalization. So Foo.png and foo.png in the same directory within your app will cause this error.

Here are things to check that I have collected from different websites during these two days:

  • check the finals steps in the build log "ProcessingProductPackaging" and "CodeSign"
  • make sure you aren't accidentally including any .svn directories or similar
  • make sure you have the correct distribution profile in projects settings for the release mode and it is not overriden by target settings
  • in your pbxproj file, check PROVISIONING_PROFILE and CODE_SIGN_IDENTITY lines for Release mode or delete them and set the right profile again in project settings
  • use Finder's compress instead of the terminal's zip command
  • check the output of codesign -vvvv MyApp.app
  • check the output of codesign -dvvvv MyApp.app
  • check the output of codesign --verify -vvvv -R='anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.1] exists and certificate leaf[field.1.2.840.113635.100.6.1.4] exists' MyApp.app
  • if uploading with Safari doesn't work, try Firefox
  • icon must be 57x57
  • use application uploader to get a more informative error message
  • there must not be spaces or special characters anywhere in the path of the zip you upload
  • check your keychain: do you have a distribution certificate that is associated with a private key?
  • make sure you set the Active SDK to device and not simulator when building
  • open the .app file with Show Contents and check whether it contains a file embedded.mobileprovision with the UUID of you distribution profile, and a folder _CodeSignature with CodeResources inside
  • make sure you bundle identifer matches the AppID. For an AppID XYZ.com.mycompany.* a valid bundle identifier is com.mycompany.myappname
  • build on Mac Extended filesystem, not fat32
  • try removing provisioning profiles from XCode, empty caches (XCode menu -> Empty Caches), restarting XCode, adding the profile again
Faikus
thanks for time
org.life.java