How does I resolve the CodeSign error:cssmerr_tp_not_trusted?

Source: Internet
Author: User

How does I resolve the CodeSign error:cssmerr_tp_not_trusted?

The Xcode build error titled "Cssmerr_tp_not_trusted" is a common problem that arises when Trust Settings has been Mistak Enly modified for all of the IOS development related certificates that follow:

IPhone Developer: <your_name>
IPhone Distribution: <your_name>
Apple Worldwide Developer Relations Certification Authority

To confirm diagnosis of this error open Keychain Access apps > Certificates "Category" and individually select each of T He above certificates Taking note of the status in the header pane. A Green circle with white checkmark indicates a healthy certificate and while a Blue circle with white Plus sign indicates an Unhealthy certificate and cause of the error.

Use the following steps to troubleshoot the issue-

1) Ensure that the Apple Inc. Root Certificate is installed in your keychain. If not, it can is downloaded here.

2) Ensure the Apple worldwide Developer Relations Certification Authority certificate are installed in your keychain. If not, it can is downloaded from the bottom link on the Provisioning Portal website > Certificates tab.

3) First try and restore Trust settings to the proper value "use System Defaults". To does, double click on this certificate to expand the Trust section, and select "Use System Defaults". If after doing then the Blue circle with white Plus sign does not automatically change to a Green Circle with white checkm Ark, the problem isn't yet fixed and you'll need to continue to the following step to resolve the issue.

4) Certificate Trust Settings is inherited from any duplicate certificates the may exist in other keychains. Therefore, if you have multiple copies of these IOS development related certificates in different keychains, you ' ll need t o Restore the Trust Settings to ' use System Defaults ' on all copies of those certificates in all of your keychains Y resolve the problem. See the ' keychains ' side bar in Keychain Access app for all of the keychains to check, e.g. "Login", "System", "system Roo TS ", and any others.

5) If after restoring the Trust Settings to ' use System Defaults ' for all of your IOS development related certificates The Error persists, you'll need to remove/delete all IOS development related certificates that is still exhibiting the Blue Circle with white Plus sign in the header pane. To does, follow the remaining steps in this list.

  • 5a) for all IOS development related certificates This still exhibit the Blue Circle with white Plus sign in the header pan E, Ctrl-click and delete the certificate. Be sure to delete all copies of this certificate from all keychains.

  • 5b) Reinstall the deleted certificates. If The certificate deleted is the "Apple Worldwide Developer Relations Certification Authority" It can be re-download fro M the IOS Portal > Certificates within the "Certificates" sidebar and the link reading "*if You do not have the WWD R Intermediate certificate installed, click here to download now. After it was downloaded, double-click it to install it into the Keychain.

  • 5c) If The certificates deleted were either the "iphone Developer: <your_name>" or "iphone distribution: <your_na Me> "Use Provisioning profiles Refresh to has Xcode download fresh copies of those certificates and install them in To your Keychain on your behalf.

After performing the above steps your certificates should show a Green Circle with white checkmark with status ' this Certi Ficate is valid "and avoid the cssmerr_tp_not_trusted Xcode build error.

How does I resolve the CodeSign error:cssmerr_tp_not_trusted?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.