升级 xcode 之后, 在终端运行 git clone 出现
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
解决方法:
sudo xcodebuild -license
一直按空格,看到最后,当出现提示 agree 、print、cancel
输入 agree
即可
转载请注明原文地址: https://ju.6miu.com/read-1126171.html