Xcode-select Error

2017-08-15  本文已影响25人  CaptainSirZero

xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance

解决方案:

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

Xcode.app 就是我们要指定的Xcode名称,如果是测试版的要改成Xcode-beta.app

上一篇 下一篇

猜你喜欢

热点阅读