xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun


 git




Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

mac只要升级就会出现这些问题,这些统一跟CommandLineTools这种工具有问题,这个大概失去寻工具。

重新安装下XCode然后启动,安装这个工具就会解决一系列问题。