iOS Missing or Invalid Signature: The bundle is not signed using an Apple Submission Certificate

Roger99 picture Roger99 · Jul 29, 2015 · Viewed 24.2k times · Source

I have been trying to sign my iOS app for about a week now and when I attempt to submit to the app store through Xcode and through Application Loader I keep running into this error:

Application Loader enter image description here

Xcode: enter image description here

I am building the app with the Apache Cordova tools for Visual Studio and i have tried both building the .ipa file through visual studio under the 'release' setting and also using on the project files built by the 'remotebuild' tool on a mac to create a new Xcode project and then trying to archive and submit it to the app store that way.

In the Xcode situation, i have tried the solutions given in this question Failed to submit app to iTunes Store and i have made sure that the bundle ID of the app matches the bundle ID of the provisioning profile. When I run the validation and export tasks in the archive organizer they both work fine but i cannot get past this error despite that.

When i try to publish through visual studio, I am building the app with the 'release' setting so there is a .ipa file within the app's directories and then i'm transferring the files of my PC to my Mac with a flash drive, taking the newly created .ipa file, and submitting it through Application loader and it is giving me the same exact error. Does anyone have any idea how to verify or manually sign an app with a provisioning profile or can they recommend a fix to this bug?

EDIT: I believe I have the correct keys in my keychain

enter image description here

Answer

Kampai picture Kampai · Dec 1, 2015

I Resolved like this

  1. open KeyChain Access application

  2. Click Login in left-top Keychains section and then select Certificates from bottom-left Category section

  3. Select "Apple Worldwide Developer Certification Authority", right click Get info

  4. Change Trust value to "Use System Defaults"

enter image description here

  1. Repeat this for "Developer ID Certification Authority" too.