-
Notifications
You must be signed in to change notification settings - Fork 41
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
the number of mach-o files is not the same between the arm64 and x64 builds #36
Comments
Hi, any update on this? I have this problem, too. I use the library "native-keymap". The log outputs this:
The file in Can I do something about this? |
Hi, I have this problem too, do you have a solution? `{ Error: While trying to merge mach-o files across your apps we found a mismatch, the number of mach-o files is not the same between the arm64 and x64 builds Node.js v17.3.0` |
Adding one more to the list: I'm running into the same issue with the
Have any of you been able to resolve this? |
Did any of you manage to solve this? Any hint would be appreciated, thank you in advance and regards |
{ |
My solution was not to use this package anymore. |
By building a new project with the above commands and executing After modifying ref:https://www.electronforge.io/guides/code-signing/code-signing-macos#osxsign-options Since I haven't joined the Apple Developer Program, I am unable to verify whether it works properly after configuring the signature. Hope someone can try and give feedback. Thank you. |
I also have similar error seen while building Diagnostics on S390x architecture.. Is there a workaround to fix this issue..? |
Just making sure @fangmuke response is understood properly. The |
with:
When using
|
I have the same issue as @rap2hpoutre, all looks good but it crashes when run. Without |
Hi, thanks for this tool. Unfortunately I cannot create a fat binary because it throws an error.
I have two signed app files which I can package without any problems (and then ship the x86 pkg to MAS).
When I try to create a fat binary with electron-universal it shows me the error that the mach-o file numbers are not matching.
Error: While trying to merge mach-o files across your apps we found a mismatch, the number of mach-o files is not the same between the arm64 and x64 builds
After searching 3 days the internet how to create combined packages with lipo, pkgbuild, productbuild, and pkgutil I have absolutely no idea where to start to get this right.
Maybe I can get a hint how to make mach-o files the same number in both apps
(I use node_modules/sharp in my project and electron-universal shows a lot of console output before the error appears, seems that there a lot of unique files to each architecture for sharp)
The text was updated successfully, but these errors were encountered: