问题
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 into this problem? How did you solve it?
Thank you
回答1:
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.
回答2:
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
回答3:
In my case problem was in revoked certificate.
To fix this problem:
- Go to
Xcode–>Preferences–>Accounts–> Select neededApple ID–> Double-click yourTeam–> Check certificate withStatusRevoked. - Go to
Keychain Access–>Searchfor certificate was revoked –>Deleteit.
回答4:
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
来源:https://stackoverflow.com/questions/40424878/your-account-already-has-a-signing-certificate-for-this-machine-but-it-is-not-pr