24

Every time trying to submit but some result. Like this

ERROR ITMS-90034: "Missing or invalid signature. The bundle '****.******.****' at bundle path 'Payload/APP_NAME.app' is not signed using an Apple submission certificate."

Everything looks fine, we click submit, it goes to validate, and starts to upload to the app store. Then at the very last second ,the error pops up no matter what we've done to try to fix it.

Tried following steps to.

1) Tried to make just new app and upload ( With this excluded depending from any framework or source and any settings) - some result

2) Tried to remove account from Xcode->Preferences->Account (Remove account) and then add again.

3) Tried revoke certificate make again and then refresh provisioning profile

4) Tried to make app zip and upload from Application Loader

5) Tried to make IPA

6) Make change in Keychain Access for related Certification Authority certificate from "Always Trust" to "Use the system default".

7) remove all certificates and provisioning profiles and add again.

The build is valid

enter image description here

Some Error for every time, when trying to upload for submission.

Error from Application loader.

enter image description here

Error from Organizer.

enter image description here

Has anyone been able to work through this or a similar issue, and can you help?

Grigori Jlavyan
  • 1,871
  • 3
  • 19
  • 39

13 Answers13

22

I have just got the same issue. I have restarted XCode and it works like a charm!

I have not changed anything and it was working an hour ago; therefore, I did not spent any time on keychain. I have simply restarted XCode and it has worked.

If the problem still persists, then I recommend you to Go to Keychain Access, delete all the expired certificates, and add the corresponding valid certificate.

casillas
  • 16,351
  • 19
  • 115
  • 215
  • 1
    Restarting Xcode worked for me as well. My situation was that I had to update provisions before uploading to AppStore, and it seemed like Xcode recognized them when archiving the build, but the error persisted. So I restarted Xcode, re-archived the same build and uploaded to AppStore one more time without changing anything else. It worked. – roxanneM Jun 18 '20 at 10:51
  • 1
    Restarting XCode also worked for me. I feel like IT department made a remote OS upgrade yesterday which might have caused the issue. – ksav Mar 12 '21 at 05:17
  • Yes, just do restart XCode. It has helped, just checked. As always... ( – djdance Mar 24 '21 at 06:17
20

you can try... Make change in Keychain Access for related Certification Authority certificate from "Always Trust" to "Use the system default".

This do the trick for me! enter image description here

Diego
  • 2,395
  • 2
  • 21
  • 27
  • Very strange. Try to remove all certificates from terminal "~ / Library / MobileDevice/Provisioning Profiles" – Diego Nov 18 '15 at 09:08
  • 1
    I'm very sorry I have no other ideas. You can try from another Mac ... :) – Diego Nov 18 '15 at 09:14
  • Great. if you think that my help was useful I would love a small vote. Thank you. – Diego Nov 18 '15 at 10:27
  • 2
    You can hit this error if you have Always Trust on your iPhone Distribution certificate as well. In short, watch out for the little blue plus on any cert in your login keychain. – k k Nov 04 '16 at 20:17
7

I have resolved this many times:

  1. check AppleWWDRCA certificate if expired or not.
  2. check fields for always trust by double click the distribution certificate in keychain.
  3. I was using another distribution certificate from same name with another expiry date.
  4. update/delete previous distribution installed certificate
Community
  • 1
  • 1
user1039695
  • 981
  • 11
  • 20
7

I got the same issue today. My app was sent successfully, but after 10 mins I got an email. with this Error ITMS-90034. As result, I started to check If my profiles are expired and etc. Everything was fine. So maybe after few hours I just sent a new archive, and it was successfully uploaded. I guess it was related to the apple side.

4

It works for me in few days ago. But, Today 2016/2/22, I use the same step to do all of setting not change after one day work still can't upload to App store. I don't know whats going on. Does anyone has solved this problem.

Finally, I find a good solution to solve this issues first download and install the new WWDR intermediate certificate (by double-clicking on the file). deleting the expired certificate from keychain . Then all of problem is solved. Here for reference Xcode 7 error: “Missing iOS Distribution signing identity for …”

Community
  • 1
  • 1
Zach Chen
  • 57
  • 1
  • 6
2

I have two certificates with same bundle identifier. One was revoked and one was valid. I deleted the revoked one and it worked for me. Reason of Error: Compiler could not figure the correct certificate (unknown).

1

This issue can be raised because of distribution certificate with private key not present in the keychain or revoked from apple developer account.

We can fix this issue by two ways :

  1. Create distribution certificate on apple developer account. download it and add it in keychain. Make sure this certificate is added in login section with private key.
  2. If distribution certificate is already created on any other machine that time you can take distribution certificate with private key by selecting distribution certificate and private key, export both items to specific destination path. After take that certificate and add it in keychain.

Happy Coding ...

Protocol
  • 1,696
  • 13
  • 30
1

For me the problem was the Signing Certificate at the MyProject -> Signing & Capabilities -> Release page differed from the common name of the Distribution certificate at the Organizer page.

The common name could be found in Keychain Access by a right click at a certificate name and then get info.

ivan8m8
  • 388
  • 4
  • 17
0

Go to Keychain Access, delete all the expired certificates, and add the corresponding valid ones.

Tilak
  • 16
  • 1
  • 4
0

i was facing same issue, i was selecting Automatically Signing on xCode and manually distribution certificate at uploading time. then i tried manually certificate on both places.(Xcode and TF.) Now it's working fine.

Tajinder singh
  • 738
  • 1
  • 9
  • 18
0

the solution is to generate a provision profile again, from the apple developer page.

0

Make sure you're using the same profile in Signing and Capabilities either the one you're in Product -> Archive. Checking that worked for me! I use manual signing and didn't realize I had different profiles.
https://developer.apple.com/forums/thread/133781?answerId=423098022#423098022

unferna
  • 105
  • 1
  • 2
0

I recommend to revoke all certificates you have duplicated in developer.apple.com account under certificates, I kept my distribution certificate.

Make sure to revoke all other distribution or development certificates associated to your name.

Go to Xcode and submit it again, with letting Xcode automatically sign it.

Cyber
  • 2,194
  • 4
  • 22
  • 41