I get this error, verbatim, when trying to build and install to a device.
This is my environment:
Has anyone run
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.
In my case problem was in revoked certificate.
To fix this problem:
Xcode –> Preferences –> Accounts –> Select needed Apple ID –> Double-click your Team –> Check certificate with Status Revoked.Keychain Access –> Search for certificate was revoked –> Delete it. 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
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