Guys, I thought I'd share with you the best signing and notarizing method for MacOS, since it's now the only way to distribute your apps on Mac.
I found it right here https://github.com/nwjs/nw.js/issues/7117#issuecomment-581738908.
You have to create a NWsign.sh file that contains this code :
You just have to change the two first const
1. with your app's path
2. with the Developer ID Application of your developer.apple.com account. (you have to have this certificate installed in your mac keychain.)
Then create another file :
Place it in the same folder and name it "neededToRun.entitlements"
Once it's ready, go in the terminal and launch the NWsign.sh command.
And VOILÀ your app is now signed and ready to notarize.
If you need further help (on notarization for example), feel free to ask.
Cheers guys !
Hi Mathieu!
Thank you for sharing this process with everybody! I found it really useful since look like a lot of Nw.Js exported files must be signed. Not just the .app itself.
I'm trying to run the "NWsign.sh" on terminal but every time I try I get "command not found".
Do you know if right now something is changed in the whole process?
Maybe it's just a personal error, btw after tons of trials I can't find where it could be.
Thank you for your collaboration in any case.
Cheers