Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron-builder 20.10.3 fails with Operation not permitted #5487

Closed
lutzroeder opened this issue Dec 17, 2020 · 1 comment · Fixed by #5488
Closed

electron-builder 20.10.3 fails with Operation not permitted #5487

lutzroeder opened this issue Dec 17, 2020 · 1 comment · Fixed by #5488

Comments

@lutzroeder
Copy link
Contributor

lutzroeder commented Dec 17, 2020

  • Version: 22.10.3
  • Electron Version: 11.1.0
  • Target: DMG
  • OS: macOS Big Sur 11.1 (20C69)

Repro steps

  1. git clone https://github.com/electron/electron-quick-start.git
  2. cd electron-quick-start
  3. npm install --save-dev [email protected]
  4. npm install
  5. export DEBUG_DMG=true
  6. npx electron-builder --mac
~/electron-quick-start: npx electron-builder --mac
  • electron-builder  version=22.10.3 os=20.2.0
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=darwin arch=x64 electron=11.1.0 appOutDir=dist/mac
  • default Electron icon is used  reason=application icon is not set
  • signing         file=dist/mac/electron-quick-start.app identityName=*** identityHash=*** provisioningProfile=none
  • building        target=macOS zip arch=x64 file=dist/electron-quick-start-1.0.0-mac.zip
  • building        target=DMG arch=x64 file=dist/electron-quick-start-1.0.0.dmg
  • building embedded block map  file=dist/electron-quick-start-1.0.0-mac.zip
  ⨯ hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Output:

Output:
Initializing…
Creating…
Copying…
could not access /Volumes/electron-quick-start 1.0.0/electron-quick-start.app/Contents/Resources/.BC.T_OYJ2t1 - Operation not permitted
Finishing…

This regressed starting with #5322.

Related #5465 #5431

@adam-lynch @develar

@abrorAbdullaev
Copy link

Sounds like a permission issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants