Monday, March 26, 2012

Update xcodebuild path

The installation directory of Apple's IDE, Xcode, moved from /Developer to /Applications starting version 4.3.1. It caused some glitches for tools, such as xcodebuild, if invoked as a command-line utility.

To point it to the new installation base, use
sudo /usr/bin/xcode-select -switch /Applications/

Verify the change with
/usr/bin/xcode-select -print-path

No comments:

Post a Comment