Skip to content
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

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

Open
eschricker opened this issue Apr 5, 2024 · 4 comments · May be fixed by #246
Open

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

eschricker opened this issue Apr 5, 2024 · 4 comments · May be fixed by #246

Comments

@eschricker
Copy link

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
@Bluebugs
Copy link
Contributor

Bluebugs commented Apr 6, 2024

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

@eschricker
Copy link
Author

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
Copy link
Contributor

I am able to reproduce the problem. Will investigate.

@Bluebugs
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants