title: Invalid Signature error !
body: <p>I am trying to update my application , but after uploading the binary , Itunes connect sends me this email :</p>
  
  <blockquote>
    <p>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</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/pcHi4.png" alt="enter image description here"></p>
  
  <p>I am sure that my binary  signed application with a distribution certificate NOT AD HOC !!!</p>
  
  <p>what is your suggestion to solve this problem ! I NEVER HAD THIS PROBLEM !!!!!</p>
  
  <p>I download the app distribution CER again but nothing change ! I have 6 apps on app store and never faced with this</p>