Build signing on Sonoma virtual runner

I've tried to implement the steps suggested for configuring code signing https://docs.github.com/en/actions/deployment/deploying-xcode-applications/installing-an-apple-certificate-on-macos-runners-for-xcode-development on runners However, I could not sign my app build when I was using Virtual Runner. Is it a limitation coming from the Apple virtualization framework restriction (for signing in with Apple ID), or did I miss some configuration for Xcode? I was trying both manual and automatic signing but never succeeded (

Replies

There are two parts to this:

  • Is there an Apple ID limitation in Virtualization framework?

  • Is that the cause of this problem?

Regarding the first, the answers is “Yes.” See this pinned thread.

Regarding the second, it’s hard to say. It is possible to sign code without being signed in with an Apple ID. However, some workflows require that. So it very much depends on the details of your workflow, and how it interacts with the third-party infrastructure you’re using.

Notably:

  • I’m not even sure that the specific infrastructure you’re referring to uses Virtualization framework at all.

  • A virtualised Intel Mac can sign in with an Apple ID just fine.

Share and Enjoy

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