Code Signing not working on Xcode 13 Server

Hi All,

After the upgrade to Xcode 13 final, I can’t seem to get Xcode Server to code sign my app in a bot. Error was always:

Warning: unable to build chain to self-signed root for signer "Apple Development: OS X Server (...)"

Building the app directly using Xcode interactively works though.

Xcode version: 13 (13A233) macOS version: Monterey 12.0 Beta (21A5534d)

Replies

Warning: unable to build chain to self-signed root for signer "Apple Development: OS X Server (...)"

I must admit I am not familiar with the setup and workflow of Xcode 13 Server. Having said that, I am responding because the error that you are seeing is a general chain of trust issue indicating that the full certificate chain cannot be made from Apple Development: OS X Server leaf certificate to the intermediate and then to the root certificate. Take a look at Apple PKI for a list of our Intermediates and Roots.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com