We are trying to notarise the electron app but I’m getting this error.The versions which we are using are electron: 3.0.6, electron-builder”: “^21.2.0
JavaScript
x
24
24
1
{
2
"logFormatVersion": 1,
3
"jobId": "---",
4
"status": "Invalid",
5
"statusSummary": "Archive contains critical validation errors",
6
"statusCode": 4000,
7
"archiveFilename": "App.zip",
8
"uploadDate": "2020-10-29T16:19:57Z",
9
"sha256": "7e3996fbdc7bc2cd9e124720dad235393ffa652119fa466f09b47252d0b500b4",
10
"ticketContents": null,
11
"issues": [
12
{
13
"severity": "error",
14
"code": null,
15
"path":
16
"App.zip/App.app/Contents/Resources/app.asar.unpacked/node_modules/app-
17
builder-bin/mac/app-builder",
18
"message": "The binary uses an SDK older than the 10.9 SDK.",
19
"docUrl": null,
20
"architecture": "x86_64"
21
}
22
]
23
}
24
Advertisement
Answer
By installing some dependencies and moving some dependency to dev-dependencies worked for me. In my case, electron-publisher-s3
I moved this package to dev dependency. This ticket helped me Link