On Sep 6, 2011, at 11:19 PM, Oleg Krupnov wrote:

> So, gentlemen, the OP has ended up completely baffled with your discussion :)
> 
> Do I have to build and ship two separate versions of my app, for 10.6
> and for 10.7??! This would be a nightmare!

No.

> At the bottom line, what is the legitimate way of supporting older
> versions of Mac OS X (10.6) in an app designed for newer ones (10.7)?

There are three, potentially four things you need to do:

1. Set your app's Base SDK to Latest Mac OS X (or Mac OS X 10.7).

2. Set your app's Mac OS X Deployment Target to 10.6.

3. In your app, check the OS version on which you're running before invoking 
10.7 methods.

4. If you want your app to run on 10.6 earlier than 10.6.8, don't reference 
(except via NSClassFromString) or subclass any new-in-10.7 classes.  If you can 
require 10.6.8 you don't need to worry about this, because 10.6.8 supports 
weak-imported classes.

-- Chris

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to