-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
requirements for target platforms #2154
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
Comments
You did not say how your app was built... calling “fyne package” should have created a .app package that is portable to older macOS versions. |
Sorry, I just wrote 'compiled' but I indeed called |
Yes, it should work back to 10.11 |
Were you by any chance using an M1 MacBook? |
No, it was an old MacBook Air from 2012. I can access it again in a week or so and will try again with a hello world app. |
It would be good to get the spec for the macbook if possible. |
I found what is happening. Delete the files Delete the files Fyne: cli v2.0.0 The myapp.app works locally (Macbook Pro) always as expected. The difference (using |
Do not run |
Is that documented? The book says: Then again, I should probably have used BTW, it seems possible to check which flags were used to build a Go executable. I found this: https://stackoverflow.com/questions/44148449/how-to-check-whether-golang-binary-is-compiled-with-ldflags-s-w/44168916 |
I don’t know what checking the parameters would help with? We’ve made the assumption that someone building the exe instead of letting Fyne do it for them has done so for a reason. Can you please say which section of which book you are using? These things move on and we may need to make an errata. |
Yes, the reason is to check if the exe builds correctly ;-) Checking for specific build flags could help to see if the exe was compiled with the correct build flags. As per your previous comment, specific build flags are applied for packaging. If the fyne cli would give a message explaining specific build tags are needed then I would know its relevancy. The citation is from Chapter 9 -> Packaging applications (desktop and mobile) -> Packaging for your current computer |
You’re right that is misleading sorry. The command used to be less capable and that page should have been updated. |
I opened #2203 PR when I realised that we could assume that found exe files that were not manually specified could be overwritten. This should fix the issue so the book examples work correctly. |
Has this been resolved already? Can we close it? |
Yes I think I should have closed this ages ago, good catch. |
I compiled an app on macOS Big Sur to use on another MacBook. The resulting app could not run on that machine because
You can't use this version of the application "MyApp" with this version of macOS. You have macOS 10.15.7. The application requires macOS 11.0 or later."
.I tried to lookup here and in the docs what minimum OS versions are supported for each platform, but could not find anything. It would be useful if that was more clear. If I missed it, I looked for 'target', 'platform' and 'requirements'.
In case this depends on certain libraries, meaning that if omitted a lower OS version would be supported, then that info would also be very helpful.
The text was updated successfully, but these errors were encountered: