DownloadNet icon indicating copy to clipboard operation
DownloadNet copied to clipboard

x86 MacOS download not working on arm64 - build machine needs QEMU, binfmt and ldid setup

Open cliffordfajardo opened this issue 3 years ago • 3 comments

MacOS download not working. Should the MacOS file in the releases page be a .dmg file? I downloaded the file and when I opened it, it was opened in my textedit application

CleanShot 2022-01-04 at 10 59 17@2x

cliffordfajardo avatar Jan 04 '22 18:01 cliffordfajardo

Wow, thank you! I think Mac may be tricky because maybe I need to sign up for an apple dev account and do code signing? But I'm not a Mac expert...maybe someone knows how pkg (that I use for bundling) affects this and how it's normally handled?

In the meantime you could try the npm global install

o0101 avatar Jan 05 '22 03:01 o0101

I changed the title to reflect what I think this issue is...I'm pretty sure because I built on an x86 machine, that your mac must use the arm architecture...so these binaries will not work on there.

You'll need to build your own arm architecture build to use a binary on your mac i think.

o0101 avatar Jan 05 '22 04:01 o0101

Heh I actually think it is possible for me to build arm on linux, i just have to set up QEMU:

https://wiki.debian.org/QemuUserEmulation

o0101 avatar Jan 05 '22 04:01 o0101