Starting with XCode 5, the command-line tools are not installed by default. One can install them by issuing:
xcode-select --instal