CSSMERR_TP_NOT_TRUSTED with Xcode

After switching to a new MacBook (and copying everything through Firewire cable), I couldn’t compile any app on my iPhone.

Compilation was always ending up with the following message:

/.../build/Debug-iphoneos/xxxxxx.app: CSSMERR_TP_NOT_TRUSTED
Command /usr/bin/codesign failed with exit code 1

I checked my provisioning profiles, certificates and everything and couldn’t find a solution.

Finally, while browsing the iOS Provisioning Portal, I read this under my Development Certificate:

*If you do not have the WWDR intermediate certificate installed, click here to download now.


I downloaded this certificate and added it to Keychain Access:

I compiled my app again and it worked!

I don’t know why this certificate disappeared during my MacBook migration…

 
  • Sax

    thanks man! Helped a lot! 🙂