xcode-license

服务器升级完xcode后,运行终端命令时会提示

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

只要执行下面的命令后就可以了。

$ sudo xcodebuild -license

https://intellij-support.jetbrains.com/hc/en-us/articles/206827657-Mac-OSX-can-t-start-Git-after-updating-Mac-OS-XCode