同意Xcode / iOS许可证需要管理员权限,请以root用户身份重新运行sudo无法在操作系统更新后运行git
IDE正在给出一条错误消息
can't start git: /usr/bin/git
,但路径是正确的,之前它正在工作。 idea.log包含以下错误:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo
这通常发生在mac OS更新之后。 您需要在终端中执行所有操作
sudo xcodebuild -license
然后同意这些条款。