문제

I've been tasked with supporting a print shop using Kodak Prinergy 6.1, which is ancient. I need to install it on a new machine. The problem is that the installer has a bug where it compares OS versions lexicographically, so it doesn't grok that 10.13 is newer than the required minimum of 10.4.

Is there a way I can trick the installer into thinking I'm running 10.9?

도움이 되었습니까?

해결책

Assuming that it's not baked into the installer, you can edit the version requirements for the app bundle.

Right click the app, hit Show Package Contents and open Info.plist. Look for a LSMinimumSystemVersion key, then change the value to your version of macOS.

enter image description here

You can also use Xcode's visual editor

enter image description here

It's possible you may need to do some more work though.

NSBundle and CFBundle aggressively cache the contents of application bundles to improve performance. Although you edited the Info.plist, the Finder and Launch Services don't yet know that the application is any different.

Running the following command in Terminal to touch the application bundle will force the Finder (and Launch Services) to re-register the application, thereby noticing the changes you made to the Info.plist:

touch "/Applications/My Cool App.app"

After running that, deselect the application, then reselect it in the Finder, and then try launching it.

Note that this won't necessarily guarantee that you'll be able to launch the app.

In the case that it's baked into the app more deeply, you can edit your macOS version at a system level. Note you'll also need to disable SIP if you haven't already.

  1. Boot in single user mode (hold down s during boot)

  2. Make file system readable:

    /sbin/mount -wu /

  3. Go the /System/Library/CoreServices directory:

    cd /System/Library/CoreServices

  4. Edit SystemVersion.plist

    nano SystemVersion.plist

  5. Change the version strings (note that there may be two of these in the .plist), e.g.


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>ProductBuildVersion</key>
        <string>14E46</string>
        <key>ProductCopyright</key>
        <string>1983-2015 Apple Inc.</string>
        <key>ProductName</key>
        <string>Mac OS X</string>
        <key>ProductUserVisibleVersion</key>
        <string>10.10.4</string>                // <<<
        <key>ProductVersion</key>
        <string>10.10.4</string>                // <<<
</dict>
</plist>
  1. Save and exit (Control-OControl-X)

  2. Reboot:

    reboot

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 apple.stackexchange
scroll top