How do you meet the minimum OS requirements in a Cocoa application?

My application should work with 10.4 or later. If I run it on 10.3, it just doesn't start or won't work.

How do you tactfully apply the minimum system requirements? Can you customize the displayed message?

+3
source share
3 answers

I did not use any of these methods / tips, just passing on the information I collected.

You can try something like the SystemVersionCheck "shim" executable file to provide an operating system check for versions that do not comply LSMinimumSystemVersion(for example, 10.3).

PPC-only. , PPC Intel, 10.3, , 10.6 Rosetta. , , PPC- 10.3, Intel 10.4u ( 10,5 Xcode 3.0, - Xcode 10.3 SDK?).

+2

Info.plist, LSMinimumSystemVersion 10.4.X X, . . Apple.

+9

If you encounter a crash after manually adding the LSMinimumSystemVersion key to your application plan, this is because Finder did not recognize the changed application state properly. Either restart Finder (for example, log out), or duplicate the application in Finder. Then the copy will behave correctly.

+2
source

Source: https://habr.com/ru/post/1720934/


All Articles