-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
- Electron-Builder Version: v24.9.0
- Node Version: v21.2.0
- Electron Version: 27.0.3
- Electron Type (current, beta, nightly): current
- Target: macOS Monterey (and newer)
Since today, the notarization of my macOS app fails with the error message: APPLE_ID env var needs to be set
https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/macPackager.ts#L505
I did not changed anything in my code and it works as exacted with electron-builder version v24.8.1.
My afterSign.js
looks like so:
try {
await electron_notarize.notarize({
appBundleId: appId,
appPath: appPath,
appleId: process.env.APPLE_ID_USR,
appleIdPassword: process.env.APPLE_ID_PSW,
teamId: process.env.APPLE_TEAM_ID_USR
})
} catch (error) {
console.error(error)
}
I don't think that the issue is related to https://github.com/electron/notarize v2.2.0 as the notarization works with electron-builder v24.8.1 and notarize 2.2.0 but not with electron-builder v24.9.0 and notarize 2.2.0
Metadata
Metadata
Assignees
Labels
No labels