*** Error: Unable to upload your app for notarization. --notarize-app is missing one or more required options: --asc-provider. (-1027)
{
NSLocalizedDescription = "Unable to upload your app for notarization.";
NSLocalizedFailureReason = "--notarize-app is missing one or more required options: --asc-provider.";
}
Add ascProvider
to Electron Notarize options:
https://github.com/electron/electron-notarize#method-notarizeopts-promisevoid
If using electron forge:
const config = {
...
packagerConfig: {
...
osxNotarize: {
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASSWORD,
ascProvider: process.env.APPLE_TEAM_ID
},
...
}
}
Thanks