Search code examples
xcodexcode4xcode4.3xcodebuild

How to run / install xcodebuild?


If I try to run xcodebuild from the command line, I receive the message:

error: can't exec '/Developer/usr/bin/xcodebuild' (No such file or directory)

But, xcrun appears to work.

Does this mean xcodebuild is not installed? I installed the command line tools in Xcode 4.3.1 Is there something I need to do to get this to work?


Solution

  • sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer