报错提示:
You have not agreed to the Xcode and Apple SDKs license. You must agree to the license below in order to use Xcode.
Press enter to display the license:
报错原因:
系统更新后,在使用Xcode前,你需要接受其许可协议
解决方法:
打开终端 输入以下代码
sudo xcodebuild -license
回车 提示输入电脑密码,然后会询问你是否同意该协议,在下面输入
agree
回车即可