Override minimum macOS version - "kLSIncompatibleSystemVersionErr" when running app
3
votes
1
answer
234
views
I would like to run an app which nominally supports only MacOS 14.0 and above. I am on 12.7.3, and apple won't allow me to update because my computer is too old. However, I know that the app actually can run on my machine because when I run the executable in the app package (
game.app > Contents > MacOS > game
), it works just fine. Unfortunately, I need to be able to run the app itself because I need to run it through Steam to get networking functionality.
Running the app through the command line with open game.app
gives me the following error:
The application cannot be opened for an unexpected reason, error=Error
Domain=NSOSStatusErrorDomain Code=-10825 "kLSIncompatibleSystemVersionErr: The
app cannot run on the current OS version" UserInfo={_LSLine=3863,
_LSFunction=_LSOpenStuffCallLocal}
I have tried editing the info.plist
but there is no tag that seems to specify a minimum system version.
Is there anything in the app contents that I might be able to change to override this error? Or some kind of flag I can use to override it when running it from the terminal?
(Bonus: does anyone know how to make Steam open the app through the executable? This would also solve my problem.)
The [Info.plist file](https://pastebin.com/MZGSMhA5) :
CFBundleDevelopmentRegion
en
CFBundleExecutable
PA
CFBundleGetInfoString
Planetary Annihilation Copyright ©2012-2021 Planetary Annihilation Inc. All rights reserved.
CFBundleIconFile
PA
CFBundleIdentifier
com.planetaryannihilation.pa.client
CFBundleInfoDictionaryVersion
6.0
CFBundleName
Planetary Annihilation
CFBundlePackageType
APPL
CFBundleShortVersionString
1.0.0
CFBundleVersion
1.0.0
LSApplicationCategoryType
public.app-category.strategy-games
CFBundleURLTypes
CFBundleTypeRole
None
CFBundleURLName
com.planetaryannihilation.pa.client
CFBundleURLSchemes
startpa
NSRequiresAquaSystemAppearance
NSLocalNetworkUsageDescription
LAN games
The [output](https://pastebin.com/Pj8b2pmd) of otool -l
on the executable
[...]
Load command 10
cmd LC_UUID
cmdsize 24
uuid 840729FE-68BA-36B3-BB9D-FFDF2C89D86C
Load command 11
cmd LC_BUILD_VERSION
cmdsize 32
platform 1
minos 14.1
sdk 14.2
ntools 1
tool 3
version 1022.1
Load command 12
cmd LC_SOURCE_VERSION
cmdsize 16
version 0.0
Load command 13
cmd LC_MAIN
cmdsize 24
entryoff 5980032
stacksize 0
[...]
Asked by Minecat40
(31 rep)
Jun 24, 2024, 03:52 AM
Last activity: Oct 13, 2024, 08:40 AM
Last activity: Oct 13, 2024, 08:40 AM