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?
Thanks for your reply. It seems that xcodebuild is located within /Applications/Xcode. app/Contents/Developer/usr/bin.
xcodebuild is a command-line tool that offers the ability to build and test your Xcode projects.
xcrun provides a means to locate or invoke coexistence- and platform-aware developer tools from the command-line, without requiring users to modify makefiles or otherwise take inconvenient measures to support multiple Xcode toolchains.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With