-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot pack macOS universal app in v25.0.0: the same architectures can't be in the same fat output file #8347
Comments
@gzdunek can you share the patch you are using? Also, (hopefully) to temporarily unblock you, you may be able to use electron-builder config option |
Here is the patch:
Well, we had troubles with that too :) |
Thanks for the patch info! I'm wondering if we should always |
Thank you for the test repo. I've opened a PR to resolve this issue since I was also able to reproduce and updated a unit test to cover the universal mac packaging with |
Please give 25.0.1 a shot and lemme know how it goes! Was no longer able to reproduce with the applied changes |
25.0.1 solved the issue, thanks! |
After updating
electron-builder
to 25.0.0 packaging an universal app that has a native dependency fails with an error:I believe this is the result of missing
disablePreGypCopy: true
flag in@electron/rebuild
options, which was added in #7519 but later removed.After I patched
node_modules/app-builder-lib/out/util/yarn.js
the build passes.Repro: https://github.com/gzdunek/electron-builder-universal - run
npm run build
(when running for the first time the actual error is different, re-running it returns an error as above).
The text was updated successfully, but these errors were encountered: