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

how to let fyne app run on a lower osx version ? #1327

Closed
JackySmith opened this issue Sep 20, 2020 · 7 comments
Closed

how to let fyne app run on a lower osx version ? #1327

JackySmith opened this issue Sep 20, 2020 · 7 comments

Comments

@JackySmith
Copy link

Hi,I have a problem that delay my work for a few days
when i package app on 10.15, it can not run on 10.11
when i package app on 10.11, it can run on 10.11+ include 10.15
but i cannot run it on osx lower than 10.11
it there a resolution let app run on 10.7?

@Jacalz
Copy link
Member

Jacalz commented Sep 21, 2020

This might partly be dependent on the Go version that you are using. I know for example that Go 1.15 dropped support for El Capitan. Are you using different Go versions?

@JackySmith
Copy link
Author

on osx10.11, I use go1.13.15 ,that's ok
but if I use go1.12.17, it can not run after go build on osx10.11
well, osx10.7 only support go1.11
so I cannot find a solution

@andydotxyz
Copy link
Member

This seems like it could be a duplicate of #886, you may need to specify some macos parameters when packaging for older systems, particularly:

export CGO_CFLAGS=-mmacosx-version-min=10.11
export CGO_LDFLAGS=-mmacosx-version-min=10.11

@andydotxyz
Copy link
Member

We will get this addressed in 1.4.2 following the duplicate #886 issue

@andydotxyz
Copy link
Member

Fix is in PR #1612, should be merged for 1.4.2 release next week

@andydotxyz
Copy link
Member

andydotxyz commented Nov 27, 2020

it there a resolution let app run on 10.7?

Unfortunately Apple stopped supporting this platform 6 years ago, so it is unlikely you can build new apps for it.
We support back to 10.11 which most computers sold in the last 12 years should be able to run.

@JackySmith maybe you can update your old OSX Lion computer to a newer version of OS X to get support?

@Jacalz
Copy link
Member

Jacalz commented Nov 27, 2020

I don’t think it would be possible to make them run on OSX 10.7. Go 1.12 (the currently oldest version for compiling fyne) supports only OSX 10.10 and Go 1.15 (latest stable release of Go) dropped supports only OSX 10.12 and later.

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

No branches or pull requests

3 participants