There was no need for me to delete all my certs. Identifying the bad certificate:From you Keychains select LoginFrom Category select CertificatesFind any Apple Certificate that has the blue +Double click on the certificate.Expand the TrustIf it's messed up then the "When using this certificate" is set to "Always Trust" along with the blue +Fixing the bad certificate:Just set it to "Use System Defaults" and close it.You'll get a pop up. Type in your password to update settings.Close KeyChain. Go back to your project, clean and run. Problem should have gone away.If that didn't work then go back to Keychain and just double check and see if there are any other Apple certificates that are set to Always Trust and repeat the process.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: