When I try to archive an app, I get a signing error: unable to build chain to self-signed root for signer "NAME OF XCODE-GENERATED CERTIFICATE"

I'm allowing Xcode to automatically manage signing, but I get the following error:

Code Block
Warning: unable to build chain to self-signed root for signer "Apple Development: My Name (HRU9F7UWZJ)"


This is a certificate generated by Xcode. When I inspect it in Keychain Access, it tells me that the certificate isn't trusted. So perhaps that could be the issue, but when I change the certificate settings to always be trusted, Xcode gets angry and says that I must revoke the certificate and generate a new one. And then I'm back to where I started.

I've tried generating a new certificate and provisioning profile and manually signing, but run into the same issue.

This was all working a day ago.
Answered by DTS Engineer in 661072022
Have you seen Apple Worldwide Developer Relations Intermediate Certificate?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Accepted Answer
Have you seen Apple Worldwide Developer Relations Intermediate Certificate?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
@eskimo

This is a good catch. I was hoping to have an update on whether this worked or not already, but I'm still in the process of updating my OS and getting the latest Xcode version. I still haven't been able to update Xcode (the download just halts). Hopefully I can figure it out soon and validate your suggestion.
When I try to archive an app, I get a signing error: unable to build chain to self-signed root for signer "NAME OF XCODE-GENERATED CERTIFICATE"
 
 
Q