| Summary: | OSX 10.11 wrongly claims Krita is incompatible | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | wetdesertrocky |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla, morten.sorvig |
| Priority: | NOR | ||
| Version First Reported In: | 3.0 Release Candidate | ||
| Target Milestone: | --- | ||
| Platform: | macOS (DMG) | ||
| OS: | macOS | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
wetdesertrocky
2016-05-28 18:07:39 UTC
Weird, because I test the app bundle I make on OSX 10.9 and there it runs just fine. I don't have 10.10 to test with; I build on 10.11. I don't support anything below 10.9, of course, since I don't have those versions myself. But you sound as if you know better than me how to build bundles for different versions for OSX: please help me out here by taking over the chore of making the OSX release. By the way: http://doc.qt.io/qt-5/supported-platforms.html shows that whatever, we can only support 10.8 since that's the minimum for Qt. For me the version check is enforced only when launching Krita from Finder (I'm also on 10.10). Starting it from the command line ("./krita.app/Contents/MacOS/krita") works fine.
"open krita.app" fails with
LSOpenURLsWithRole() failed with error -10825 for the file /Applications/krita.app.
Error 10825 seems to be kLSIncompatibleSystemVersionErr.
I wonder whether there's something that can be set in the info.plist to avoid or disable or bamboozle that check. This is something in the build settings of XCode, if my internet (or the server's internet?) was working properly, I could download the repo and point out which build option needs to be changed. It is called Minimum OSX Version or something like that. To verify it worked, do
$ otool -l krita
and look for:
Load command 9
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.11
Once it is fixed it should be something similar to:
Load command 9
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.8
Sorry for the (super) late reply, I didn't get the email notification. Whoops!
Hm, I'm not using xcode to build, but this sounds like I could just use otool itself to set the minimum version. Thanks for the hit! Note to self: http://stackoverflow.com/questions/17143373/determine-minimum-osx-version-a-binary-was-compiled-for Could you please check http://files.kde.org/krita/3/osx/devbuilds/krita-3.0.1-alpha1.dmg ? That says Load command 9 cmd LC_VERSION_MIN_MACOSX cmdsize 16 version 10.9 sdk 10.9 Which should be correct, since that's what we target. Okay, this seems to be fixed indeed, I got a positive test report back. Indeed. I just checked it and it works fine, and as far as I know should continue working fine for all intended systems. |