Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSSMERR_TP_NOT_TRUSTED error

I did everything according to documentation.i marked both the Apple WorldWide Developer certificate as always trusted..

and the iPhone Distribution one as Always trusted, but i faced following error message.

/Users/keyss/Desktop/Deep/Free_Version/######/build/Release-iphoneos/####.app: replacing invalid existing  signature.
/Users/keyss/Desktop/Deep/Free_Version/######/build/Release-iphoneos/####.app: CSSMERR_TP_NOT_TRUSTED

One thing more, I run the release that made it fine work on iphone.(with this error)

like image 334
Amit Battan Avatar asked Nov 17 '09 10:11

Amit Battan


3 Answers

CSSMERR_TP_NOT_TRUSTED build error (and sometimes but less common, is it's Archive 'Share' or 'Submit' manifestation) is the result of mistakenly modifying Trust Settings on one of your iOS Development-related certificates. The resolution is slightly different than simply needing to install the Apple WWDR Intermediate Certificate, as suggested by pixel.

Fixing the build error can be as simple as restoring the Trust Settings to "Use System Defaults" for the certificate exhibiting the Blue Circle With White Plus Sign in the header pane of Keychain Access, but can be as rigorous as requiring you to remove all copies of your iOS Development-related certificates from all Keychains, and then restore the certificates once again. One copy of each certificate type in the default keychain - typically the login keychain - will do.

See Apple's publication for the full steps to resolving this error "How do I resolve the CodeSign error: CSSMERR_TP_NOT_TRUSTED?".

like image 151
Bobjt Avatar answered Sep 22 '22 17:09

Bobjt


You need to download the Apple WWDR intermediate certificate from the Provisioning Portal. You can find the certificate in the "Certificates" tab in the portal. After downloading, just drag the certificate to the Keychain Access application.

This should resolve your issue.

like image 10
pixel Avatar answered Sep 24 '22 17:09

pixel


Install "Apple WWDR" cirtificate http://developer.apple.com/certificationauthority/AppleWWDRCA.cer and make sure that all the certificates Trust parameter is set to "Use System Defaults" in Keychain Access

like image 5
Nagaraj Avatar answered Sep 24 '22 17:09

Nagaraj