Just a note to anyone wanting to compile Mathematica code using XCode on Mac OS X:
An update to Xcode was made available this evening (7 August). After installing it, you need to (re)install the command line tools. The installer is not in the update, nor is it in the opening dialog to install components.
I would not be surprised if we had to go through the same procedure with every update to XCode.