I'm trying to create a package for the Mac App Store using Electron 6.1.9 and Electron builder 21.2.0.
I sign the package with "3rd Party Mac Developer Application" and "3rd Party Mac Developer Installer" certificates and an am using a proper provisioning profile.
It appears to work fine, the build is successful. But I cannot start the resulting app. It crashes immediately with this error:
Exception Type: EXCCRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
I also tried to a create VM running MacOS Catalina and install and run the app there. The result is the same.
My question is how do I make sure that the MAS package is OK?
How to test this package?
Tools like codesign, pkgutil etc all print the expected output, the signature appears to be fine. Yet I'm still getting invalid signature error.
I sign the package with "3rd Party Mac Developer Application" and "3rd Party Mac Developer Installer" certificates and an am using a proper provisioning profile.
It appears to work fine, the build is successful. But I cannot start the resulting app. It crashes immediately with this error:
Exception Type: EXCCRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
I also tried to a create VM running MacOS Catalina and install and run the app there. The result is the same.
My question is how do I make sure that the MAS package is OK?
How to test this package?
Tools like codesign, pkgutil etc all print the expected output, the signature appears to be fine. Yet I'm still getting invalid signature error.