packager icon indicating copy to clipboard operation
packager copied to clipboard

`--arch=all` broken on macOS

Open erickzhao opened this issue 2 years ago • 0 comments

Preflight Checklist

  • [x] I have read the contribution documentation for this project.
  • [x] I agree to follow the code of conduct that this project follows, as appropriate.
  • [x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

  • Electron Packager Version:
    • v17.1.1
  • Electron Version:
    • 25.0.0
  • Operating System:
    • macOS Ventura
  • Last Known Working Electron Packager version::
    • N/A

Expected Behavior

--arch=all passes and generates binaries for all possible architectures

Actual Behavior

--arch=all fails due to @electron/universal errors.

To Reproduce

  1. Clone electron-quick-start
  2. Run npx electron-packager . --arch=all

Additional Information

This seems like a concurrency issue with building universal at the same time as x64 and arm64. It looks like we're trying to build both architectures twice (once for each build then again for universal).

erickzhao avatar Aug 03 '23 21:08 erickzhao