美文网首页
macbook更新后 git报错

macbook更新后 git报错

作者: Yyyyyyyyyujie | 来源:发表于2025-06-03 15:03 被阅读0次

报错提示:

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回车即可

相关文章

网友评论

      本文标题:macbook更新后 git报错

      本文链接:https://www.haomeiwen.com/subject/efsuwjtx.html