Skip to content

the number of mach-o files is not the same between the arm64 and x64 builds #36

Open
@zinne

Description

@zinne

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions