xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use sudo xcode-select --switch path/to/Xcode.app
to specify the Xcode that you wish to use for command line developer tools, or use xcode-select --install
to install the standalone command line developer tools.
See man xcode-select
for more details.
可以通过xcode-select命令来重置系统默认的CommandLineTools路径,如下
解决方案:
xcode-select --switch /Library/Developer/CommandLineTools
xcode-select -p
原文:https://www.cnblogs.com/shengulong/p/12826246.html