You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the code of conduct that this project uses.
I have searched the issue tracker for a bug that matches the one I want to file, without success.
Electron Forge version
^6.0.0-beta.66
Electron version
19.0.0
Operating system
macOs 12.0.3
Last known working Electron Forge version
No response
Expected behavior
I expect the binaries that I add in extra resources to be considered as valid for both architectures. Or at least I want to know why the error is thrown.
{packagerConfig:{
...
extraResource: "bin/",}}
Actual behavior
I get this ERROR that I see no way of handling.
Error: Detected file "Contents/Resources/bin/mac/ffmpeg" that's the same in both x64 and arm64 builds and not covered by the x64ArchFiles rule: "undefined"
Steps to reproduce
Try to add extraResource for universal arch and make the app for universal arch.
@qiqetes Can you be more specific? I just hit this error too, and this is the first thing google turns up. At least, could you link to where you found the solution? -Thanks
This error happens when the same x64 binaries are present in both the x64 and arm64 versions of your app.
I think you would need to set up the x64ArchFiles configuration option for @electron/universal like this:
// forge.config.js{packagerConfig: {osxUniversal: {// config options for `@electron/universal`x64ArchFiles: '**/_ARC4.abi3.so'// replace with any relevant glob pattern}}}
Pre-flight checklist
Electron Forge version
^6.0.0-beta.66
Electron version
19.0.0
Operating system
macOs 12.0.3
Last known working Electron Forge version
No response
Expected behavior
I expect the binaries that I add in extra resources to be considered as valid for both architectures. Or at least I want to know why the error is thrown.
Actual behavior
I get this ERROR that I see no way of handling.
Error: Detected file "Contents/Resources/bin/mac/ffmpeg" that's the same in both x64 and arm64 builds and not covered by the x64ArchFiles rule: "undefined"
Steps to reproduce
Try to add extraResource for universal arch and make the app for universal arch.
Additional information
Full packagerConfig:
The text was updated successfully, but these errors were encountered: