Hello everyone,
Issue: fail to notarize my application.
usage: electron.js
**debug log: **
{
"logFormatVersion": 1,
"jobId": "22136043-4cf2-49a9-8a27-90d045cd9345",
"status": "Invalid",
"statusSummary": "Archive contains critical validation errors",
"statusCode": 4000,
"archiveFilename": "WandDesktop.zip",
"uploadDate": "2022-05-24T09:20:02Z",
"sha256": "7a4f03eff95fc4e9c3ac0d93fd926ea4669e07ed40dffaa58f34a08238e3ecfe",
"ticketContents": null,
"issues": [
{
"severity": "error",
"code": null,
"path": "WandDesktop.zip/WandDesktop.app/Contents/MacOS/WandDesktop",
"message": "The signature of the binary is invalid.",
"docUrl": null,
"architecture": "x86_64"
}
]
}
I've been trying to notarize for several days and constantly receiving the error above.
path/to/Contents/MacOS/exec contains only the executable file.
**entitlements:
** com.apple.security.cs.allow-jit
com.apple.security.cs.allow-unsigned-executable-memory
com.apple.security.cs.allow-dyld-environment-variables
com.apple.security.cs.disable-library-validation
**checked signature:
**
WandDesktop.app: valid on disk
WandDesktop.app: satisfies its Designated Requirement
asar: true
hardenedRuntime: true
nested code: everything is packed correctly and separated to Resources/MacOS etc.
Obviously I went through a lot of other related issues both from electron community and apple, but no solution works so far.
Any lead would help,
Best regards.