electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

Notarization for mac electron application(pkg,dmg) is not happening

Open reddybhavanish opened this issue 2 weeks ago • 6 comments

Hi Team, we made the following changes for the notarization of mac build 1.Changed xcode version to more than 13(as notarytool is supported only for the xcode more than 13) 2.Upgraded electron-builder version to latest 3.Changed this dependency "electron-notarize": "^1.0.0" to "@electron/notarize":2.3.2 4.Added tool:"notary tool" in the notarize.js 5.Changed ascProvider to teamId in notarize.js Here is the configuration in notarize.js await electron_notarize.notarize({ appPath: appPath, ascProvider: 'xxxx', appleId: 'xxxxxxx', appleIdPassword: 'xxxx', }); 6.Added additional field in package.json under build "build": { ... "mac": { ... "notarize": { "teamId": "YOUR_TEAM_ID_HERE" } }

after making the above changes we generated builds, it is showing notarization successful in the log, but while trying to install build files(pkg,dmg) in other mac systems the application isn't getting opened

@mmaietta can you please help us on this.

reddybhavanish avatar Jun 18 '24 09:06 reddybhavanish