>> On the other hand, it looks like xcodebuild is not always installed. >> > > IIRC, this is what trigger the dialog ask what do you want to install. Can > you find out where is your xcodebuild located and what does it return with > xcodebuild -version?
Apple installs stub binaries in /usr/bin, this exec's the real xcodebuild from the currently selected version of Xcode. If no copy of Xcode is installed it triggers the "You need to install Xcode" user experience. Apparently there's an option to only install the command line tools, I didn't know about that. I'm curious if only installing the CL tools also installs at least one OS X SDK. If it doesn't then it's not terribly useful, except for maybe porting/building Unix command line tools. -DrD-