hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
See original GitHub issueI’m not able to generate builds for MacOs, I’ve made several attempts to change versions and the error persists:
⨯ hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE stackTrace= Error: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE at ChildProcess.<anonymous> (/.../node_modules/builder-util/src/util.ts:243:14) at Object.onceWrapper (events.js:417:26) at ChildProcess.emit (events.js:310:20) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
I did the tests with the following combinations electron-builder: 20.36.2 electron: 3.0.9
electron-builder: 21.1.6 electron: 7.15.0
electron-builder: 21.1.5 electron: 5.0.8
and also with the latest version for both electron-builder: 22.9.1 electron: 11.0.2
All tests were done using a Macbook Air Catalina version 10.15.7 and Node version 12.16.3. Sometimes I have some success using debug mode with DEBUG=electron-builder node_modules/.bin/electron-builder build -m
Additional information: I do not use any kind of antivirus.
Please help me, I create a big project but in every version released I have problems building versions for MacOs.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:40 (13 by maintainers)
Top GitHub Comments
This worked for me, thanks.
Since updating to Big Sur 11.3.1 I am receiving this same error message and I am unable to build a dmg file.
Xcode: Version 12.5 (12E262) Python: 2.7.16 electron: “~11.4.5” electron-builder: “^22.11.1”