• 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: Detecting the installed version of Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting the installed version of Xcode


  • Subject: Re: Detecting the installed version of Xcode
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 16 Feb 2007 22:03:56 +0100


On vendredi, février 16, 2007, at 09:22 PM, Goldfarb, Tammy A wrote:

What is the best way to detect the installed version of Xcode?

Which version number are you interested in?

The marketing version (2.3)?

or

The components version: IDE, Core, Toolsupport (744.0, 747.0, 733.0)?

For the last 2, this solution can be interesting:

xcodebuild -version

But I'm pretty sure a better solution for the last 3 is to check the Info.plist of the DevToolsInterface, DevToolsCore and DevToolsSupport framework in /System/Library/PrivateFrameworks.

Regarding the marketing version, I would tend to believe the info is only in the Info.plist of the Xcode application and while I would bet that 99.99% of Xcode users haven't moved the application out of the /Developers/Applications folder, nothing prevents it.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Detecting the installed version of Xcode (From: "Goldfarb, Tammy A" <email@hidden>)

  • Prev by Date: Re: Detecting the installed version of Xcode
  • Next by Date: Dylan Hyndman is out of the office.
  • Previous by thread: Re: Detecting the installed version of Xcode
  • Next by thread: Dylan Hyndman is out of the office.
  • Index(es):
    • Date
    • Thread