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

Native ARM Mac build #6

Open
sourcebox opened this issue Aug 14, 2021 · 7 comments
Open

Native ARM Mac build #6

sourcebox opened this issue Aug 14, 2021 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sourcebox
Copy link
Owner

Since a don't have access to an ARM Mac yet, I can't do a build run on such a machine. Maybe someone else can try this.

The alternative to this is cross-compilation, which is currently blocked by using the tinyfiledialogs crate that binds to a C library under the hood.

@sourcebox sourcebox added enhancement New feature or request help wanted Extra attention is needed labels Aug 14, 2021
@c3dw
Copy link

c3dw commented Jul 26, 2024

I wonder if this is going to be developed, or if people won't be able to use the program on Mac in the future...

@sourcebox
Copy link
Owner Author

There's a good chance that the code already builds as is on an ARM Mac. If you are a developer yourself, you can easily check it out by cloning this repo and run cargo run --release.

I'll give it a try again and would also like to have a CI setup for this. At the time I was developing the editor, there were runner images available for this platform.

@sourcebox
Copy link
Owner Author

I've uploaded an ARM build from the GitHub CI to the releases page. This is currently untested, so @c3dw it would be nice if you can check if it works. The CI runs on an macOS 14 image, but it will hopefully also run on older versions.

@lokkiikkol
Copy link

lokkiikkol commented Aug 11, 2024

I tested the build on a M1 MacBook Air with MacOs 14.5, it does not open, since MacOs says the App is broken: "
“Töörö Editor” is damaged and can’t be opened. You should eject the disk image.
"
I built from source with the very nice instructions, and it works flawlessly. I don't know if my build works on other machines though :-) If you want me to send it to you, let me know.

@sourcebox
Copy link
Owner Author

Ok, good to know, thanks for testing. I have to do some further investigation on this.I already asked a friend for testing, but he's currently on vacation. So it will take a few days before I get an answer.

@sourcebox
Copy link
Owner Author

sourcebox commented Oct 10, 2024

I tested the build on a M1 MacBook Air with MacOs 14.5, it does not open, since MacOs says the App is broken:

Can you please test again using the new build from the releases page? I compiled it myself this time on an M2 Mac mini and it works.

@sourcebox
Copy link
Owner Author

Ok, I did some testing and found out that the application works after building but gets flagged as broken when it is downloaded again from the web. For now, I have no idea what causes this behaviour.

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

No branches or pull requests

3 participants