Search code examples
iosios4app-store-connect

Invalid Signature error !


I am trying to update my application , but after uploading the binary , Itunes connect sends me this email :

Dear Developer, Thank you for your recent binary submission for "MY APP" to the App Store. Unfortunately we discovered an issue with your binary that you will need to correct in order for your application to proceed to the review stage. The specific issue is outlined below: Invalid Signature - Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. Once you have corrected the issue, please return to the application's version details page in the iTunes Connect Manage Your Applications module and click on the Ready to Submit Binary button. This will take you through the binary submission flow and return your application version status to Waiting for Upload. You can then use Application Loader to upload your new binary. If any other issues are found with your submission you will be contacted. Thanks, The iTunes Connect Team

enter image description here

I am sure that my binary signed application with a distribution certificate NOT AD HOC !!!

what is your suggestion to solve this problem ! I NEVER HAD THIS PROBLEM !!!!!

I download the app distribution CER again but nothing change ! I have 6 apps on app store and never faced with this


Solution

  • Note that this QA is incredibly old. Apple have largely ameliorated this problem. Enjoy.


    99 times out of 100, here is the problem:

    Select "TARGETS", not "PROJECT"

    Click on the name of your project at the Top Left of the main XCode6 window. (ie, just above where it probably says "Classes".)

    enter image description here

    Look at the large area which opens. Carefully look at the WHITE COLUMN ONTHE LEFT.

    Choose "TARGETS" ... rather than "PROJECT"

    Then, correctly set your certificate to the 3rd party Mac Developer cert.