-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Failure to Build MacOS Release from Linux on Multiple MacOS SDK Versions #275
Comments
They all seem to relate to visionos macros as far as I can see, out of curiosity have you tried a version that does not bundle visionOS SDK? |
Hi @andydotxyz, I spent some time today looking at this and was unable to find a version of the sdk that doesn't have visionOS bundled in it. I also tried the most recent version of the sdk directly from the apple website today, and got failures on all the versions packed in the dmg. Let me know if there is anything I can help test. |
From what some others have reported there may be a bug with the compiler we use in The images. Seems to relate to fyne-io/fyne-cross-images#46 and fyne-io/fyne-cross-images#21 |
Hey @andydotxyz, so I have actively been following along with this issue and did some testing preemptively at submission. I've tested this on my personal desktop (Arch) and also a Ubuntu 24.04 VM and I get identical errors on both so im at least fairly confident its not something machine related. I also went ahead and tested versions all the way back to 11.3 and specifically it gives me this error Happy to close this issue out if I should be version locking to 11.3 with fyne-cross 1.6.0 |
Well I need to redact my statement at least in part @andydotxyz. The build works on my desktop which I'll give some info on below but I've tested multiple versions of Ubuntu (20.xx --> 24.xx) and the build fails each time. Really at a loss as I thought this was happeing in a docker container external of the host it was running on but maybe something is linking over? I have a github action with a failing build that may provide some logs for you. https://github.com/JustinTimperio/onionsoup/actions/runs/12563254907/job/35024852235 My desktop:
Took a look at the logs and im seeing this:
|
I have an error trace similar to yours, and I'm unable to package the app for darwin-amd64/arm64 and linux-arm64. All these commands work correctly when running fyne-cross locally on a Mac. Although, in my case I suspect the root cause is CGO dependencies from the go-fitz package. I'm planning to open a discussion about this issue in that repository. |
An update.
|
Yes it looks like you're compiling against a native library that is not in the container. |
It does seem that way. Is that intended behavior? If so, is there any flags or settings I should use that would prevent this? |
Describe the bug:
Hi All,
First off thanks for the great work on Fyne! I'm currently attempting to build a release for MacOS using a github workflow runner by following these steps here. I'm attempting the build on a number of SDK versions and seem to be getting some mostly unreadable errors (for me at least) about building with zig. I've attached the log here in the issue on my repo.
I currently am unsure what to make of the errors as they don't seem to be steming from any go code I have written. It maybe some package that is importing but again the trace in the logs is a little hard to follow.
To Reproduce:
Steps to reproduce the behaviour:
fyne-cross darwin -arch=amd64,arm64 -app-id="Onion.Soup" --macosx-sdk-path /home/user/onionsoup/macos-sdk/MacOSX15.2.sdk
Device and debug info
Debug info
The text was updated successfully, but these errors were encountered: