[MacOS] xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change

When using MacOS with xcode6-beta, i always meet these error:

xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") does not exist, use xcode-select to change

 

After googled, i found the solution.

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

 

Have fun with MacOS!

你可能感兴趣的:(developer)