-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Enable OSX compilation in CI #249
Comments
Thanks, I've commented in the other bug report. |
My understanding is that the newest sdk does not work with fyne. As I did my setup years ago, I am not going through the oops of verifying latest sdk from Apple, especially because I can't automate its download and I don't have an apple id. I wish apple was doing better there. An alternate solution, that I wish I had time to investigate is what tinygo does. There is an open issue for it, but basically we are just compiling not running macos code, we could provide a shim and empty library. |
Can you be more specific? I am not aware of any docs that don't work - but if you can point to where they are wrong we will update. |
Well I have been following this documentation: https://github.com/fyne-io/fyne-cross/?tab=readme-ov-file#extract-the-macos-sdk-for-osxdarwinapple-cross-compiling. With it, I am still unable to cross compile from Linux to Darwin a basic Fyne app. I am encountering the same issues mentioned in #202 and #187 and have yet to produce a valid binary. PS: I have tried many variants of the CLI tools for Xcode without success. |
I don't know if this is linked to the |
Do you have any errors you can share? it is not clear from the info about which step is failing. Thanks for linking to the doc you are using - you mention it is outdated, but not which step was not working for you. |
The Github Workflow does not run a cross compile for the darwin target.
If darwin cross compilation is to be reliable, the CI should include it so we know that projects can be compiled reliably.
There are a number of open issues relating to Linux -> Darwin cross compile open and I think it would provide valuable signals if the CI can produce valid artefacts.
fyne-cross/.github/workflows/ci.yml
Lines 91 to 94 in a730062
The text was updated successfully, but these errors were encountered: