I have built my application for arm and x64 so I have two files called DeepSkyStacker.app in different directories.
I have followed the instructions to notarise the arm version of the app, but an concerned about what I should do to notarise the other one - do I just zip that up and then run:
xcrun notarytool submit "DeepSkyStacker.zip" --keychain-profile "Notary Profile for DeepSkyStacker" --wait
xcrun stapler staple DeepSkyStacker.app
again or will that mess everything up?
Related to that can I use the Notary Profile I created for DeepSkyStacker to notarise other apps that are part of the same product (DeepSkyStackerLive and DeepSkyStackerCL)??
Thanks David
The answer here depends on how you distribute your app:
-
Most developers — and, to be clear, Apple strongly recommends this approach — ship a universal binary, that is, a single product that supports Apple silicon and Intel.
-
Some folks choose to ship separate Apple silicon and Intel variants of their product.
When it comes to notarisation, you should notarise what you ship to your users. So:
-
If you ship a universal binary, construct that first and then notarise the result.
-
If you ship architecture-specific variants, notarise each one separately.
For more background as to how this works, and hence why this advice makes sense, see Notarisation Fundamentals.
Related to that can I use the Notary Profile I created for DeepSkyStacker to notarise other apps … ?
You mean the keychain profile? If so, then yes, absolutely.
The keychain profile identifies you, the person doing the notarisation. I recommend that you use the same profile for all notarisation work you do on behalf of a specific team [1].
But this raises another question:
to notarise other apps that are part of the same product (DeepSkyStackerLive and DeepSkyStackerCL)
If your product includes multiple code items that are always distributed together, you generally want to notarise those in one go. So, rather than notarising each code item separately, assemble them all into your file product and notarise that.
For general advice on this topic, see:
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] If you’re a member of multiple teams, it makes sense to create a profile for each team.