本文介绍了同意Xcode / iOS许可证需要管理员权限,请通过sudo重新运行root操作系统更新后无法运行git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
IDE发出错误消息
无法启动git:/ usr / bin / git
,但路径是正确的,之前它正在工作。 idea.log包含以下错误:
can't start git: /usr/bin/git
, however the path is correct, and it was working before. idea.log contains the following error:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo
推荐答案
这通常发生在mac OS更新之后。您需要在终端中执行的所有操作
This generally occurs after the mac OS update. All you need to do in terminal is run
sudo xcodebuild -license
然后同意这些条款。
这篇关于同意Xcode / iOS许可证需要管理员权限,请通过sudo重新运行root操作系统更新后无法运行git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!