|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
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> |
|
|
|
|
|
#3 |
|
League Commissioner
Join Date: Aug 2006
Posts: 5,040
|
A big "Developer" folder at the top of your hard drive is a usual indicator.
|
|
|
|
|
|
#4 |
|
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.).
|
|
|
|
|
|
#5 |
|
League Commissioner
Join Date: Aug 2006
Posts: 5,040
|
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. |
|
|
|
|
|
#6 |
|
League Commissioner
Join Date: Jan 2002
Posts: 7,960
|
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
|
|
|
|
|
|
#7 |
|
League Commissioner
Join Date: Aug 2006
Posts: 5,040
|
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. |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Feb 2013
Posts: 1
|
Do this
$ xcode-select --version
xcode-select version 2311. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|