Your account already has a signing certificate for this machine but it is not present in your keychain

后端 未结 4 644
余生分开走
余生分开走 2021-02-01 15:34

I get this error, verbatim, when trying to build and install to a device.

This is my environment:

  • Xcode 8
  • El Capitan

Has anyone run

相关标签:
4条回答
  • 2021-02-01 16:01

    Go to Xcode Preferences -> Accounts tab -> Double-click your team name -> Click the + at the bottom left of the dialog box that appears -> Select iOS Development.

    This will create a new development certificate that will allow you to install and test on your device.

    0 讨论(0)
  • 2021-02-01 16:07

    In my case problem was in revoked certificate.
    To fix this problem:

    1. Go to Xcode –> Preferences –> Accounts –> Select needed Apple ID –> Double-click your Team –> Check certificate with Status Revoked.
    2. Go to Keychain Access –> Search for certificate was revoked –> Delete it.
    0 讨论(0)
  • 2021-02-01 16:18

    I got this error immediately after a repair to replace the MagSafe module on my MacBook Pro (I am guessing the long period with the battery unplugged reset the SMC). I really didn't want to recreate the signing certificate so I went into the Keychain, realised I had so many expired keys still present and decided to delete the expired ones. I Go back to Xcode, clean the project and rebuild and boom...everything works fine. Hope this helps someone

    0 讨论(0)
  • 2021-02-01 16:20

    go to your apple developer site and download the signing certificate. Once downloaded you should be able to click and it will auto do its thing and should be good after that

    0 讨论(0)
提交回复
热议问题