change xcrun developer path

Viewed 64241

How can I change the directory at which xcrun is pointing ? currently is pointing to

xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode44-DP7.app/Contents/Developer'. (No such file or directory)

I need to change the location. Thank you.

11 Answers

You do not need to have xcode installed in order to use xcrun.

Just install the xcode command line tools and switch to it.

Install x code command line tools

xcode-select --install

Switch to command line tools

sudo xcode-select --switch /Library/Developer/CommandLineTools

After uninstall xcode?

Run this in console

sudo xcode-select --reset
Related