• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to read the deployment target of a .plugin?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read the deployment target of a .plugin?


  • Subject: Re: How to read the deployment target of a .plugin?
  • From: Charles Srstka <email@hidden>
  • Date: Sun, 10 Feb 2013 23:12:35 -0600

On Feb 10, 2013, at 9:09 PM, Jerry Krinock <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to read the deployment target of a .plugin?
      • From: Jerry Krinock <email@hidden>
References: 
 >How to read the deployment target of a .plugin? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: How to read the deployment target of a .plugin?
  • Next by Date: Re: Keychain issues with public key on iOS
  • Previous by thread: How to read the deployment target of a .plugin?
  • Next by thread: Re: How to read the deployment target of a .plugin?
  • Index(es):
    • Date
    • Thread