在 Mac 上构建 Electron 时遇到 7zip 错误

问题描述 投票:0回答:1

收到此错误消息:

⨯ Exit code: EACCES. spawn /usr/local/lib/node_modules/electron-builder/node_modules/7zip-bin/mac/x64/7za EACCES  failedTask=build stackTrace=Error: Exit code: EACCES. spawn /usr/local/lib/node_modules/electron-builder/node_modules/7zip-bin/mac/x64/7za EACCES

不确定为什么失败

macos electron
1个回答
0
投票

没有最新的 Apple Dev 帐户。构建/打包过程无法对代码进行签名:

• skipped macOS application code signing  reason=cannot find valid "Developer ID Application" identity or custom non-Apple code signing certificate, it could cause some undefined behaviour, e.g. macOS localized description not visible, see https://electron.build/code-signing allIdentities=  1) 673686243ADE52722EED4A548F06B6A5749BEAB4 "localhost" (CSSMERR_TP_NOT_TRUSTED)
© www.soinside.com 2019 - 2024. All rights reserved.