As stated in the subject, I used electron-forge to package the product.
I have a Mac Developer certificate and a Mac Distribution Installer certificate in my KeyChain.
When I run the "electron-osx-sign Write-in-stone.app". I m getting the following error.
Sign failed:
No identity found for signing.
I used "security find-identity" to see if there are certificates. I do have plenty of certificates. I feel I am missing something while running. Could anybody suggest what is the ideal procedure to sign the app and publish an electron desktop app?
Thank you in advance.
@preethamsridhar When code signing an app bundle for distribution outside the Mac App Store, you'll need the Developer ID certificates (which are different from the Mac Developer certificates used only for development). Once you have the Developer ID Application certificate installed to your default keychain, you can run security find-identity -p codesigning -v to list all the code signing certificates and Developer ID Application should be among them.
Use flag: --identity="3rd Party Mac Developer Application: YOUR_NAME (TEAM_ID)"
Most helpful comment
@preethamsridhar When code signing an app bundle for distribution outside the Mac App Store, you'll need the Developer ID certificates (which are different from the Mac Developer certificates used only for development). Once you have the Developer ID Application certificate installed to your default keychain, you can run
security find-identity -p codesigning -vto list all the code signing certificates and Developer ID Application should be among them.