Showing posts with label Xcode. Show all posts
Showing posts with label Xcode. Show all posts

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/Xcode.app/

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