How to run / install xcodebuild?

39,589
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Share:
39,589
Rahul Iyer
Author by

Rahul Iyer

Hello, If you're stuck on any kind of engineering / programming problem (it doesn't matter what language or technology) feel free to ask me to take a look at it. : https://www.rahuliyer.com/contact Rahul https://www.buymeacoffee.com/rahuliyer

Updated on October 18, 2020

Comments

  • Rahul Iyer
    Rahul Iyer over 3 years

    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?