Re: Detecting the installed version of Xcode
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