Xcode 12.5 - Unable to build chain to self-signed root for signer

If you are utilizing our macOS executors and building on Xcode 12.5+ and not using Fastlane match for your signing, you may encounter an error that looks like:

Warning: unable to build chain to self-signed root for signer "Apple Development: XXXXXXX"

By default, we have the proper certificates on the image, however, if you aren't using the setup_circle_ci task in your Fastfile and Fastlane match then they won't be properly applied to your build.

You have two options for resolving this issue, the first would be to follow the above documentation and implement Fastlane match.

If the above isn't an option, then you can update your Fastfile to include the following:

certificate_path: "AppleWWDRCAG3.cer",
keychain_path: "/Users/distiller/Library/Keychains/fastlane_tmp_keychain-db",
keychain_password: ""

Then download the certificate from the following:


Then include it in the project's root. Afterward, it can be imported into the temp Fastlane keychain.

Was this article helpful?
4 out of 14 found this helpful



Article is closed for comments.