fyne-io / fyne-cross

Cross compiler tool for Fyne apps
BSD 3-Clause "New" or "Revised" License
234 stars 48 forks source link

Linux Building Darwin Error #238

Closed figuerom16 closed 4 months ago

figuerom16 commented 4 months ago

Describe the bug:

MacOS fails to compile for AMD64 and ARM64. Is there a better SDK to use other than 12.3? Windows and Linux have no issues.

To Reproduce:

fyne-cross darwin -arch=amd64,arm64 --macosx-sdk-path /home/matt/Documents/go/MACSDKs/MacOSX12.3.sdk

Example code:

https://gitlab.com/figuerom16/moxyspice

Device and debug info (please complete the following information):

Device info Debug info

output.txt

Bluebugs commented 4 months ago

Oh, I just realize, you are using 12.3 for MacOS SDK. I don't think this version is supported. @andydotxyz do you know if that version work with Fyne now?

Bluebugs commented 4 months ago

It is currently recommended to use 11.3.

figuerom16 commented 4 months ago

I've tried using the 11.3 SDK. Here is the generated output error. output_11.3.txt

Bluebugs commented 4 months ago

Ah, you are also seeing the issue reported in #232. Looking into it at the moment.

figuerom16 commented 4 months ago

Ah ok. I'll close this since #232 covers this and I'll watch that issue. Thanks.