fyne-cross icon indicating copy to clipboard operation
fyne-cross copied to clipboard

Build for MacOS (arm64,amd64) not working

Open eschricker opened this issue 10 months ago • 4 comments

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
  • OS: Linux -->
  • Target-OS: MacOS
  • Version: Fedora 39
  • Go version: 1.21.
  • fyne-cross version: 1.5.0
  • Fyne version: 2.4.4

eschricker avatar Apr 05 '24 08:04 eschricker

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

Bluebugs avatar Apr 06 '24 04:04 Bluebugs

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.

eschricker avatar Apr 08 '24 07:04 eschricker

I am able to reproduce the problem. Will investigate.

Bluebugs avatar Apr 27 '24 15:04 Bluebugs

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

Bluebugs avatar Apr 29 '24 00:04 Bluebugs