问题

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

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-02-01
  • 2021-12-09
猜你喜欢
  • 2022-03-05
  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
  • 2021-10-25
  • 2022-03-05
相关资源
相似解决方案