-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add support for Apple Silicon / Universal build target for macOS #469
Comments
Did a little sleuthing on a fork to see if I could figure this out. It appears that |
Hi @belthesar, this is a good observation, thank you for this. It is unclear to me whether a universal build would be preferable to just dropping x64 support or even distributing two files. As for the build. I wonder however if there is something wrong with the turbo repo scripts, you could try to recreate the steps manually:
Let me know if this works for you Since Ontime hits almost everything you need, you are welcome to contribute with code on what you feel the app does not achieve. It would be great to discuss this Best |
Hi @cpvalente, thanks for the response! I agree, a build that hits almost 500 MB is less than ideal. I did see that it looks like I ended up modifying the I'm certainly in unfamiliar territory working with node, but with the way it appears the script works when executing As for what Ontime is missing, I'm honestly not sure if it's in-scope for the app, but we can certainly discuss that outside of the context of this issue. Thanks again for the response! |
Hi @belthesar, I think your assertion with If you want to talk about application scope I am all ears, get in touch at mail@getontime.no |
HI @belthesar , would you mind taking a look at the artifacts from the new build? Am I missing something? |
Hey there! Wanted to say that I've seen this but haven't been able to get back to this quite yet. Hopefully will do this week. |
No worries, this is not visible to the users yet. Thank you again for your help |
Can confirm that the build from CI doesn't work, but my local build does. Huh. Edit: Looks like the download is flagging as quarantined, but doing a right click -> open to bypass quarantine is not unquaraning the bundle. Looking closer at the build, it seems like maybe there might be a codesigning issue?
|
A-ha, that sounds about right. It might well be that Apple is pushing all the apps to be signed. electron-userland/electron-builder#5850 As a free tool we are unable to support the costs for notarization, do you happen to know if there are ways around? |
Hi there! Ontime is a rather strikingly powerful project! I was looking to build something similar for a project I'm working on, and I was quite surprised to see such a well built tool that hits almost every use case I needed!
I use a M1 MacBook Pro as my laptop. While Ontime appears to run through Rosetta2 reasonably well, having a native version would improve the performance on that platform. I don't personally plan on using Ontime for live usage from my laptop on my next project, but there's a chance I feasibly would, and having maximum runtime and performance on the platform would be a boon to trusting using Ontime on the platform.
I'm not familiar enough with the stack to know what the level of effort of adding an Apple Silicon build target is, but given that it appears Ontime uses Github Actions for builds, I do at least know that Actions can be used to cross-compile for aarch64 on the x86 Mac runners. Thanks!
The text was updated successfully, but these errors were encountered: