-
Notifications
You must be signed in to change notification settings - Fork 2
Is it possible to notarize the Mac build on Windows, or Gitlab CI? #5
Comments
Yes, this is possible, but a bit cumbersome. You can supply the relevant data for this via environment variables such as this in a Github Action:
This requires the following:
This is unfortunately very cumbersome to obtain, especially if you do not own a Mac to prepare these things in the first place. |
@kobaltcore, can these steps work?
If yes, I will do it. |
Unfortunately not quite. While the first step would work, the actual code signing and notarization will have to take place on a Mac as well. It should, however, still be possible. The certificate can be generated without a Mac, I believe, by going through the Apple Developer Portal (which also allows you to download the necessary file). This can then be stored as a GitHub Actions Secret and used in a CI run. Since GGA supports macOS runners (only Intel atm, but still better than nothing), you should then be able to complete the notarization process via GHA, without having to own or rent a Mac yourself. renconstruct actually ships with a notarization task built for this purpose, it will set up everything that's needed internally during the CI run. Fair warning though: I have not used that particular functionality in a while, so I'd have to re-check it to make sure it's still working. |
I want to notarize the Mac version, but I don't own a Mac.
Is it possible to notarize the Mac build on Windows, or Gitlab CI?
The text was updated successfully, but these errors were encountered: