Frequently receiving {"code":null,"output":""} as a result #125
Open
Description
Hello, when building for Mac I'm very frequently getting notary exceptions and the result from the notarytool
is {"code":null,"output":""}
. This leads to the following error output when making with Forge:
An unhandled rejection has occurred inside Forge:
Error: Failed to notarize via notarytool
at Object.<anonymous> (MY_PATH/node_modules/@electron/notarize/lib/notarytool.js:97:23)
at Generator.next (<anonymous>)
at fulfilled (MY_PATH/node_modules/@electron/notarize/lib/notarytool.js:4:58)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I'm building using an appleId
and appleIdPassword
:
"packagerConfig": {
"osxSign": {},
"osxNotarize": {
"tool": "notarytool",
"appleId": process.env.APPLE_ID,
"appleIdPassword": process.env.APPLE_PASSWORD,
"teamId": process.env.APPLE_TEAM_ID
},
...
After I retry making enough times, it eventually works but the cycle can be very time consuming and failures are happening pretty frequently. Any help would be greatly appreciated! Thanks.