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

Apple Silicon m1 version #33

Open
paoloestar opened this issue Jul 4, 2022 · 11 comments
Open

Apple Silicon m1 version #33

paoloestar opened this issue Jul 4, 2022 · 11 comments
Labels
help wanted Extra attention is needed

Comments

@paoloestar
Copy link

Hey prashanta, very good and efficient piece of software thanks a lot!

have seen (after buying a new MacBook) that it still runs rosetta emulated as intel application. Any plans to make a universal app? Thanks!

@prashantgupta24
Copy link
Owner

Thanks for the kind words @paoloestar! No plans as of now, contributions are more than welcome!

@prashantgupta24 prashantgupta24 added the help wanted Extra attention is needed label Jul 13, 2022
@longgiangp
Copy link

With the release of Go, [version 1.16] Apple Silicon is supported out-of-the-box with support for cgo, internal and external linking. https://tip.golang.org/doc/go1.16

By looking at your go.yml file, you're already on Go 1.17. which means you should be able to build for arm (GOOS=darwin, GOARCH=arm64).

If you don't mind to build it real quick and upload it, that would be awesome!

Thank you very much! ❤️

@prashantgupta24
Copy link
Owner

Hi @longgiangp , unfortunately the robotgo library on which AMM is based has issues with arm64 builds. Perhaps their latest version supports it, I am using an older version.

FYI I I have been running this on an M1 for quite some time now, rosetta makes it a seamless experience.

@cnpog
Copy link

cnpog commented Oct 27, 2022

@prashantgupta24 I am on M1 mac and I updated all dependencies, after which it worked.
go get -u ./...

@paoloestar
Copy link
Author

good to hear that it works as a native app. Would be great if you could share the build

@prashantgupta24 does this enable you to update your code?

@prashantgupta24
Copy link
Owner

I honestly am not able to find the time to get this done, if someone submits a PR for it, would highly appreciate it!

@Resousse
Copy link
Contributor

This PR : #45 should help, because I'm able to compile/use it on my silicon M2 Pro.

@Resousse
Copy link
Contributor

@paoloestar , please try the latest release and let me know

@nighthawk469
Copy link

It may work building from source, but the "amm.x86.zip" in Releases doesn't work on apple silicon, or at least I get this error when I right click>Open "“amm” cannot be opened because the developer cannot be verified.".

It would be awesome if we could get an apple silicon build in Releases :)

@prashantgupta24
Copy link
Owner

@nighthawk469 the developer cannot be verified error is because it's not notarized by apple. If you right click on the .app and choose Open, it will work.

That being said, I will get an apple silicon build in the releases soon!

@nighthawk469
Copy link

I did try right clicking but still I got the same message. I saw this same issue with Alacritty. Something about macos quarantine.
alacritty/alacritty#4673 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants