解决方法
在终端中修改你的CommandLine Tools的位置:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
xcode-
select
-switch
/Applications/Xcode
.app
/Contents/Developer