Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you enforce the minimum OS requirements in a Cocoa app?

Tags:

macos

cocoa

My app needs to run on 10.4 or later. If I launch it on 10.3 it just fails to launch or crashes.

How do you tactfully enforce minimum system requirements? Can you customize the message it shows?

like image 607
zekel Avatar asked Dec 04 '25 00:12

zekel


1 Answers

Add a key to your applications Info.plist, specifying LSMinimumSystemVersion as 10.4.X for whatever X you need as a minor version. For more, see Apple's documentation.

like image 166
Adam Wright Avatar answered Dec 05 '25 14:12

Adam Wright