Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable notarytool #19

Open
lwahonen opened this issue Jan 5, 2023 · 3 comments
Open

How to enable notarytool #19

lwahonen opened this issue Jan 5, 2023 · 3 comments

Comments

@lwahonen
Copy link

lwahonen commented Jan 5, 2023

Building packages works, but I get a "notarytool not found, trying legacy."

Notarytool is available: xcrun --find notarytool
/Applications/Xcode.app/Contents/Developer/usr/bin/notarytool

I call build via

API_KEY_ID="xxxx" API_KEY_ISSUER_ID="xxxxxx" npm run dist

And package.json has

"afterSign": "electron-builder-notarize",
"mac": {
  "hardenedRuntime": true,
  "target": "dmg",
  "category": "public.app-category.utilities",
  "icon": "allsizes.icns",
  "entitlements": "./build/entitlements.mac.plist",
  "entitlementsInherit": "./build/entitlements.mac.plist"
},
@itsdouges
Copy link

This is the line of code that enables it https://github.com/karaggeorge/electron-builder-notarize/blob/master/validate.js#L40

@perry-mitchell
Copy link

Having the same issue. notarytool is found (/Applications/Xcode_14.2.app/Contents/Developer/usr/bin/notarytool) but it still logs: notarytool not found, trying legacy.

@BitHighlander
Copy link

Im debugging this issue now as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants