Re: Detecting the installed version of Xcode
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On vendredi, février 16, 2007, at 09:22 PM, Goldfarb, Tammy A wrote: 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 _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... What is the best way to detect the installed version of Xcode? 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre