I've generated Developer ID Application and Installer certificates using Apple developper page and I can see it in login on Keychain. When I run electron-builder --mac --x64
I get the following error:
Error: Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache /Users/onokeita/Documents/workspace_js/stacknote-desktop-app/dist/mac/Stacknote.app
/Users/onokeita/Documents/workspace_js/stacknote-desktop-app/dist/mac/Stacknote.app: rejected
source=Unnotarized Developer ID
I tried it a few hours later and tried to recreate the certificate, but it didn't work. What should I do? Should I try to notarize the app manually?: How to upload dmg file for notarization in xcode
- OSX 10.14.5.
- electron-builder: 20.38.5