mac更新系统后xcode问题

 

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

 

mac更新到10.15后,xcode/anaconda3等需要更新,在更新xcode遇到上述问题。解决:

brew install ios-deploy

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

参考:

https://topherpedersen.blog/2019/10/03/cordovaerror-promise-rejected-with-non-error-xcode-select-error-tool-xcodebuild-requires-xcode-but-active-developer-directory-library-developer-commandlinetools-is-a-command-li/

你可能感兴趣的:(mac配置)