im have an electron js app for distribution, but for notarize i need to sign all the contents of the app with Developer ID certificate, timestamp and hardened runtime enable, but when i sign the executable with hardened runtime enable, the application cannot be open and crash with this details:"Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)Exception Codes: 0x0000000000000032, 0x000026e402082040Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x2" (this is part of the details)
the notarize working well when i sign with hardened runtime, but the app not working, and when i dont sign with runtime, the app works but notarize fail...this is the command i sign with:
sudo codesign --force --options runtime --sign "Developer ID Application: <my developer id certificate>" --timestamp --deep <path>
can you help me solve it and found a way to notarize the app and also that the app will run?
thanks!