16 C
United States of America
Saturday, November 23, 2024

command line – Override minimal macOS model – “kLSIncompatibleSystemVersionErr” when working app


I want to run an app which nominally helps solely MacOS 14.0 and above. I’m on 12.7.3, and apple will not permit me to replace as a result of my pc is just too outdated. Nevertheless, I do know that the app truly can run on my machine as a result of after I run the executable within the app bundle (recreation.app > Contents > MacOS > recreation), it really works simply high quality. Sadly, I want to have the ability to run the app itself as a result of I have to run it by Steam to get networking performance.

Working the app by the command line with open recreation.app provides me the next error:

The appliance can't be opened for an surprising cause, error=Error
Area=NSOSStatusErrorDomain Code=-10825 "kLSIncompatibleSystemVersionErr: The 
app can not run on the present OS model" UserInfo={_LSLine=3863, 
_LSFunction=_LSOpenStuffCallLocal}

I’ve tried enhancing the data.plist however there is no such thing as a tag that appears to specify a minimal system model.

Is there something within the app contents that I’d be capable of change to override this error? Or some type of flag I can use to override it when working it from the terminal?

(Bonus: does anybody know the right way to make Steam open the app by the executable? This may additionally clear up my downside.)

The Information.plist file:

<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleExecutable</key>
    <string>PA</string>
    <key>CFBundleGetInfoString</key>
    <string>Planetary Annihilation Copyright ©2012-2021 Planetary Annihilation Inc. All rights reserved.</string>
    <key>CFBundleIconFile</key>
    <string>PA</string>
    <key>CFBundleIdentifier</key>
    <string>com.planetaryannihilation.pa.consumer</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>Planetary Annihilation</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0.0</string>
    <key>CFBundleVersion</key>
    <string>1.0.0</string>
    <key>LSApplicationCategoryType</key>
    <string>public.app-category.strategy-games</string>
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>None</string>
            <key>CFBundleURLName</key>
            <string>com.planetaryannihilation.pa.consumer</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>startpa</string>
            </array>
        </dict>
    </array>
    <key>NSRequiresAquaSystemAppearance</key>
    <true/>
    <key>NSLocalNetworkUsageDescription</key>
    <string>LAN video games</string>
</dict>
</plist>

The output 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
     instrument 3
  model 1022.1
Load command 12
      cmd LC_SOURCE_VERSION
  cmdsize 16
  model 0.0
Load command 13
       cmd LC_MAIN
   cmdsize 24
  entryoff 5980032
 stacksize 0
[...]

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles