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)
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?".
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With