On Feb 10, 2013, at 9:09 PM, Jerry Krinock <je...@ieee.org> wrote:

> In an .app project, the Build Setting named Deployment Target in Xcode gets 
> compiled into the product's Info.plist as LSMinimumSystemVersion, and this is 
> the minimum Mac OS X version in which the product will launch.
> 
> In a .plugin project, there is also a Deployment Target in Xcode, but I don't 
> see this reflected anywhere in the product's Info.plist.  How does it work?
> 
> Why I want to know this: I think that maybe, thanks to Xcode 4.5, I've built 
> a plugin with Deployment Target set to the mysterious "Compiler Default" 
> which will not load in a system < 10.8.  I cannot find any indication of what 
> "Compiler Default" is.  Even the "Resolved" column of the "OS X Deployment 
> Target" Build Setting in Xcode tells me only "Compiler Default" :(  I suspect 
> that it is 10.8.  But it seems like this should be stated in the product 
> somewhere.

What you're looking for is the LC_VERSION_MIN_MACOSX (or 
LC_VERSION_MIN_IPHONEOS) load command, inside the Mach-O file. You can look at 
a Mach-O file's load commands by using otool -l.

On my machine, "Compiler Default" makes it 10.8.

Charles


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to