Mac – Distribute macOS build of a SwiftUI app using Sign In with Apple

mac-appstoretestflightxcode

I am working on an iOS app, written in SwiftUI. I am already sharing builds with external testers using TestFlight, and it all works pretty much without problems.

Today I enabled macOS support as well using the "magic checkbox" in Xcode.

enter image description here

I've tested the app on my Mac, and it's good enough that I'd like to distribute this to my testers as well. Of course there is no TestFlight for macOS apps, so how do I share my build?

I created an archive, but when I try to distribute using my Developer ID and sending it to Apple's notary service I get the following errors:

enter image description here

So.. because my app uses Sign In with Apple I can't distribute it using a Developer ID? Does that mean I am required to send it to the Mac App Store? But it's not ready to be published to the wide open world yet! ?

It seems like a rather silly situation that I can find very little information about.


Edit:

Some additional information. First of all, it all works fine on iOS. I have created a Key for Sign In with Apple. I have also created a "Developer ID Application" Profile, and it has all the needed bits:

enter image description here

But yet when I try to manually select this Profile during the distribution process (instead of letting Xcode do it automatically) I see the following:

enter image description here

Best Answer

Sadly it seems like it's an issue with Apple's tooling. See also https://forums.developer.apple.com/thread/129263.

Nothing to do but remove Sign In with Apple (not an option for me), or simply wait for Apple to fix this :(