电子公证失败,原因是二进制文件使用的10.9 SDK版本早于SDK [英] Electron notarisation failed due to The binary uses an SDK older than the 10.9 SDK

查看:78
本文介绍了电子公证失败,原因是二进制文件使用的10.9 SDK版本早于SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在尝试对电子应用程序进行公证,但出现此错误.我们使用的版本是电子:3.0.6,电子制造商":"^ 21.2.0

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

{
"logFormatVersion": 1,
"jobId": "---",
"status": "Invalid",
"statusSummary": "Archive contains critical validation errors",
"statusCode": 4000,
"archiveFilename": "App.zip",
"uploadDate": "2020-10-29T16:19:57Z",
"sha256": "7e3996fbdc7bc2cd9e124720dad235393ffa652119fa466f09b47252d0b500b4",
"ticketContents": null,
"issues": [
 {
  "severity": "error",
  "code": null,
  "path": 
    "App.zip/App.app/Contents/Resources/app.asar.unpacked/node_modules/app- 
     builder-bin/mac/app-builder",
  "message": "The binary uses an SDK older than the 10.9 SDK.",
  "docUrl": null,
  "architecture": "x86_64"
 }
]
}

推荐答案

通过安装一些依赖项并将某些依赖项移至开发依赖项对我来说很有效.就我而言, electron-publisher-s3 我将此软件包移至dev依赖项.这张票帮助我

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

这篇关于电子公证失败,原因是二进制文件使用的10.9 SDK版本早于SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆