Commit Graph

1 Commits (4ab27c13e081bbb3ea1bad62d8f78d8fea0666cc)

Author SHA1 Message Date
Alberto García Hierro 5e3fd3ebd4 [macOS] Use macapptool for signing and notarizing macOS binaries
nw-builder has been producing invalid frameworks at least since
2017, at it seems there's no progress in fixing it (see
https://github.com/nwjs/nw.js/issues/6338). To workaround this problem,
we use macapptool to proper seal all the framework resources so it
can be signed and passes the validations required for notarization.
Since we're introducing this dependency, we can also use macapptool
to simplify signing and notarization.

To create a signed macOS build, pass the --codesign flag.
--codesign-identity can be used to use a non-default identity
("Developer ID")

To notarize a signed bundle, use the --notarize flag. There are
also flags provided to specify the username/password for the
notarization service.
5 years ago