fyne-io / fyne-cross

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

Build for MacOS (arm64,amd64) not working #232

Closed eschricker closed 3 months ago

eschricker commented 5 months ago

Describe the bug:

The build for MacOS is not working with version 1.5.0.

I have tested with different SDK versions.

The following error is shown:

flag provided but not defined: -w"

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

Device info
Bluebugs commented 5 months ago

Do you have any go flags at in your environment? Can you share the command line you are using?

eschricker commented 5 months ago

I have not set any go flags.

The commands are:

fyne-cross darwin -arch=amd64 --macosx-sdk-path ${SDK_DIR} ./cmds/gui
fyne-cross darwin -arch=arm64 --macosx-sdk-path ${SDK_DIR} ./cmds/gui

SDK_DIR points to MacOSX11.3.sdk.

If fyne-cross is fixed to v1.4.0 it build succeeds.

Bluebugs commented 4 months ago

I am able to reproduce the problem. Will investigate.

Bluebugs commented 4 months ago

It seems this does not affect build on darwin host targeting darwin.