Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ios10

xcode8

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

like image 371
Sheamus Avatar asked Nov 04 '16 14:11

Sheamus


People also ask

How do I remove code signing certificate?

To Delete a Code Signing CertificateClick Code Signing (blue and silver shield), right-click on the Code Signing Certificate that you want to delete, and then click Delete Certificate. In the Confirm Delete window, read the warning and make sure that you really want to delete the certificate.

How do I get an Apple developer signing certificate?

In the Member Center, click to select the Certificates, Identifiers & Profiles section, then select Certificates under iOS Apps. To create a certificate, click the Add button (+) in the upper-right corner. Choose Apple Development or iOS App Development as the type, then click Continue.


2 Answers

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.

like image 152
ykay Avatar answered Oct 18 '22 03:10

ykay


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.
like image 4
mike.stalker Avatar answered Oct 18 '22 03:10

mike.stalker