Error bundling project for both x86_64 and ARM macOS

i’m able to bundle for each architecture separately, but when bundling for both at the same time it throws an error

using defold version 1.4.7
/libexec/x86_64-win32/lipo.exe could not be found locally, create an application manifest to build the engine remotely.

Thanks. We have a fix for this that we’ll probably sneak into the current 1.4.8 beta:

2 Likes

@AGulev pointed out that this is a different issue. I didn’t notice that you’re on Windows trying to bundle for macOS.

2 Likes

oh, ok. odd.
does this issue exist on linux, too?
i could test it there if you’re not sure.

Well, yes. We only provide the lipo tool for macOS currently.

1 Like

Are there any plans to provide it (again?) on Linux? I remember being able to build for OSX. Or is there an alternative way to bundle for OSX that I might have missed :slight_smile:

1 Like

Well, until we have a prebuilt tool to do it, it is difficult.
The code is open source, but a bit hard to build in my experience, which is why we’ve left it “for later”.
If there is a github repo with nice and clean build steps for windows+linux, then that would be great.

You can technically still bundle twice, once for each x86_64-macOS and once for arm64-macOS, however the problem still remains that you likely want the binary to be a universal binary.

1 Like

Alright, no worries. I’ll use Bob on Github on an OSX runner for the mac builds as an alternative. That should work too I think.

Just wanted to check if I missed something.

Thanks for the reply!

2 Likes

I have found this repository on GitHub (https://github.com/konoui/lipo) which also already has the different lipo releases. Maybe this can be of any use for us non-mac users.

Looks really promising on first glance! If I can be of any help somehow with this please let me know :slight_smile:

2 Likes