Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 05-07-2009, 11:08 PM   #1
macdaddy57
Triple-A Player
 
Join Date: Jan 2005
Posts: 90
Is Xcode Installed?

I'm running OS X v. 10.5.6 and was wondering, is there an easy way to determine whether or not Xcode has been installed on one's machine? Is there a command I can run or a file or directory I can search for that would tell me?

Thanks.
macdaddy57 is offline   Reply With Quote
Old 05-07-2009, 11:11 PM   #2
robinwmills
Major Leaguer
 
Join Date: Sep 2007
Location: San Jose, CA, USA.
Posts: 290
Try this:
Code:
503 /Users/rmills> xcodebuild
xcodebuild: Error: the directory /Users/rmills does not contain an Xcode project.
504 /Users/rmills> man xcodebuild
.. you'll see the xcodebuild man page ..
505 /Users/rmills>
Robin
__________________
Robin
http://clanmills.com
24" iMac, 17" Powerbook, Vaio Ubuntu/W7 Laptop.
robinwmills is offline   Reply With Quote
Old 05-08-2009, 01:54 AM   #3
benwiggy
League Commissioner
 
Join Date: Aug 2006
Location: London
Posts: 5,829
A big "Developer" folder at the top of your hard drive is a usual indicator.
benwiggy is offline   Reply With Quote
Old 05-08-2009, 09:09 AM   #4
macdaddy57
Triple-A Player
 
Join Date: Jan 2005
Posts: 90
Here's the answer...

As I've learned this morning, without Xcode installed, all I had in my /Developer directory was an Application directory. After installing Xcode (with the iPhone SDK), I know have About Xcode Tools and About iPhone SDK pdfs, and a bunch of new directories (Documentation, Examles, Library, Makefiles, SDKs, etc., etc.).
macdaddy57 is offline   Reply With Quote
Old 05-08-2009, 09:18 AM   #5
benwiggy
League Commissioner
 
Join Date: Aug 2006
Location: London
Posts: 5,829
My brand new MacBook doesn't have a Developer folder, as I've not yet put Xcode on it.

So if you already have one, even with minimal stuff in it, then it must be a vestige of a previous Xcode installation.
benwiggy is offline   Reply With Quote
Old 05-08-2009, 09:26 AM   #6
DeltaMac
League Commissioner
 
Join Date: Jan 2002
Posts: 8,526
The latest Java update puts a Developer folder on your hard drive, so the presence of a Developer folder does not indicate an xcode install
DeltaMac is offline   Reply With Quote
Old 05-08-2009, 09:32 AM   #7
benwiggy
League Commissioner
 
Join Date: Aug 2006
Location: London
Posts: 5,829
OK, then. A Developer folder with an Xcode application in its Applications folder is a good indication of having Xcode installed.
Similarly, right-click on a .plist file, and if the first choice is Property List Editor, then you've probably got Xcode installed.
benwiggy is offline   Reply With Quote
Old 02-18-2013, 10:25 AM   #8
abhimanyunaikare
Registered User
 
Join Date: Feb 2013
Posts: 1
Do this

$ xcode-select --version
xcode-select version 2311.
abhimanyunaikare is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:58 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.