Document building and running on macOS
!332 (merged) brings support for building and running on macOS. The CI has been configured to produce distributable zip archives, however it's not entirely straightforward to run these as signing and notarization needs to be done for which a certificate is required (either self-created or officially obtained from Apple). While we do take the zip created by the CI and sign it ourselves in order to publish it on the website as packages that can be installed by ordinary users, we should probably document how to sign packages, so that developers can run developments builds or people can use the nightly builds from the CI for experimentation and testing.
There's a script utils/sign-mac.sh
that can be used for signing the packages build locally using pinpit or build on the CI, but it requires some modification in order to work. Either one needs to put the credentials for one's own Apple developer certificate into the script:
TEAM="ABCDEF1234"
APPLE_ID="<your apple id email>"
PASSWORD="<password>"
or it needs to be changed in a way to work with a self-created certificate. How that works hasn't been worked out yet. Per this comment we could probably figure something out based on this script.