Rahul Iyer
Rahul Iyer

Reputation: 20995

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?

Upvotes: 35

Views: 48508

Answers (1)

Kurt Revis
Kurt Revis

Reputation: 27984

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

Upvotes: 104

Related Questions