解决IDEA的git报错:You have not agreed to the Xcode license agreements

问题:

并不是git没安装,而是Xcode更新后需要重新同意证书获取。

解决:

  1. 运行指令:sudo xcodebuild -license;

  2. 输入agree回车;

  3. 重启IDEA。
posted @ 2023-11-11 16:18  UpZhou  阅读(338)  评论(0编辑  收藏  举报