Resolve the Error “unable to build chain to self-signed root for signer”

Xcode is Apple’s IDE (integrated development environment) that is ideally used by programmers all over the world to develop software for iOS, macOS, watchOS, iPadOS, and tvOS. It is an IDE for macOS as well as a tool for developers to create applications, especially for the Apple ecosystem. Programmers can simply write the code and build their user interface with Xcode. The advantage of using Xcode is that it has all the tools in one software package that is needed to create applications. It is so simple that you just write code, compile, do application debugging, and you can submit it to the Apple store. Being a code editor, Xcode supports many languages such as JavaScript, Python, AppleScript, -C, Objective-C, C++, Objective-C++, Swift, Ruby, Java, and ResEdit. When you are working with Xcode, you may encounter “unable to build chain to self-signed root for signer”.

Errors when working on Xcode is quite normal, but at the same time, it always seems irritating. As you are here to solve the error, you don’t need to worry. We will provide you with enough information that makes the error go away. Let’s figure out how the error pops up

How do you get the error?

When you try to migrate your Xcode project to another system (computer), you get the error warning appears. This is how the error looks like

Warning: unable to build chain to self-signed root for signer

How To Fix the Error “unable to build chain to self-signed root for signer”

Solution 1

The error shows up when you try to use install a certificate on a different system that was created on another system or install it for the first time. To solve the error, follow the steps below

  • First, you need to open the Keychain Access
  • Tap login, and then select Certificates
  • Open Apple Worldwide Developer Relations Certificate Authority by double tapping.
  • Click the trust section. The ‘Always Trust’ is selected here, you need to set it to ‘Use System Defaults”
  • Next, just make the build folder clean and run

It resolves the error warning.

Solution 2

In the case, you tried everything but nothing seems to work here then you should try to add the intermediate certificate for signing to the system keychain. It is installed by Xcode automatically. To reinstall the signing certificate, you can go to the official site. Once you have downloaded it, you need to double-tap the files to include it in the system keychain automatically. This Xcode provision profile works automatically.


In this post, we shed light on the solutions to fix the error “unable to build chain to self-signed root for signer” efficiently. You can easily implement the solutions and get rid of the error warning.

I hope you find it helpful!

If you need any further assistance, feel free to write to us in the comment box below.

Leave a Reply

Your email address will not be published. Required fields are marked *