xcrun: error: active developer path ("/Volumes/Xcode/Xcode-beta.app/Contents/Developer") does not exist, use `xcode-select --swi

xcrun: error: active developer path ("/Volumes/Xcode/Xcode-beta.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)

 

 

解决方案

在终端中修改你的CommandLine Tools的位置:


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

  

原文地址:https://www.cnblogs.com/songxing10000/p/4805881.html