4 ms·
Everything is now contained within the .app, so a re-install is rm -rf /Applications/Xcode.app and then re-install. The command line tools are easily installed
by calloc 15y ago
Everything is now contained within the .app, so a re-install is rm -rf /Applications/Xcode.app and then re-install.
The command line tools are easily installed from within Xcode -> Preferences -> Downloads or by downloading the .dmg from Apple's developer website and installing it by hand. Neither are the end of the world.
- feralchimp 15y agoCan you explain plausible reasoning for not installing CLT by default? I'm willing to listen, I just don't get it.
- msbarnett 15y agoSmaller download for people who don't need them? Rather than distributing two copies of the tools (one with Xcode, and the (awesome) new CLI only tool distribution), they DRY it up and have one canonical package for everyone, reducing testing, packaging overhead, possibility for divergence between the two packages, etc, etc?
- feralchimp 15y agoGood answer. I was lazy and didn't notice the CLI-only distro. Thanks-
- calloc 15y agoman xcrun man xcode-select The tools are already available, just not in the normal path locations. Also if you are modifying the files installed by the CLT installer such that they get messed up you are doing it wrong.
- drivebyacct2 15y agoBecause an enormous number of developers have no desire to use Xcode and are annoyed at having to download 1.3GB Xcode to get `gcc`.
- batista 15y agoWell, if XCode can serve its purpose (build and debug OS X apps) without the CLI, why should it have them included?