missing private key in the distribution certificate on keychain

后端 未结 14 2068
时光说笑
时光说笑 2020-11-29 16:36

I have the following problem which I could not find a solution for anywhere. Basically, we have a company developer account (not enterprise) and so in order to submit our ap

14条回答
  •  醉梦人生
    2020-11-29 17:05

    I got into this situation ("Missing private key.") after Xcode failed to create new distribution certificate - an unknown error occurred.

    Then, I struggled to obtain the private key or to generate new certificate. From the certificate manager in Xcode I got strange errors like "The passphrase you entered is wrong". But it did not even ask me for any passphrase.

    What helped me was:

    1. Revoke all not-working distribution certificates at developer.apple.com
    2. Restart my Mac

    After that, Xcode was able to create new distribution certificate and no private key was missing.

    Lesson learned: Restart your Mac as much as your Windows ;)

提交回复
热议问题