Skip to content
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

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

Open
cliffordfajardo opened this issue Jan 4, 2022 · 3 comments

Comments

@cliffordfajardo
Copy link

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

@o0101
Copy link
Collaborator

o0101 commented Jan 5, 2022

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
Copy link
Collaborator

o0101 commented Jan 5, 2022

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
Copy link
Collaborator

o0101 commented Jan 5, 2022

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 o0101 changed the title MacOS download not working x86 MacOS download not working on arm64 - build machine needs QEMU, binfmt and ldid setup Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants