Deleted iOS Certificate blocks importing real iOS/tvOS Certificates and Provisions
While trying to find a workaround for a different certificate/provision problem, I decided to try things on a different machine. THIS machine is a Macbook Pro (Retina, 15-inch, Early 2013) running macOS Sierra 10.12.1 (this also happened on this machine before I upgraded from 10.11.6).
Symptom: ALL projects on the machine report this certificate as being present, including in brand-new projects created from templates (like the brand-new project I created just to take the screenshot below).
BUT...I DELETED that certificate from Keychain Access. This search here used to show it up...until I deleted it:
The worst part is that this phantom certificate prevents me from importing any real certificates (or provisions):
Here is what the Output Log says about my attempt to import a real certificate:
No matter what project I'm in, trying to import any certificate or provision ends in the same error about this wacky old certificate that has already been deleted.
asked Nov 30 '16 at 11:00 PM in Bug Reports
I stumbled on the solution while trying workarounds for another tvOS issue.
After reading this page that Samantha Sutton told me about, I exposed the expired items in Keychain Access and deleted ALL expired items in my login keychain (just deleting the expired Worldwide Developer Relations Intermediate Certification wasn't enough).
Now my Macbook Pro can import provisions and certificates. Yay!
Now I am blocked from packaging tvOS for distribution only by this issue on both my Mac Pro and my Macbook Pro. So at least there is some sanity in the world. It was very weird to have errors at different points in the process on two such similar machines.
answered Dec 02 '16 at 11:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here