Home

Ryan Hoo

Android Software Engineer, also a mediocre Product Manager and Designer

Home About Github

12 Aug 2014
安装 Xcode 后命令行提示错误

在安装完新版本的 Xcode 后,在 iTerm 中执行命令总会有这样的提示:

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

这个时候执行 sudo xcrun cc 就可以显示 apple license ,输入 agree 即可。

参考: Agreeing to the Xcode license from the command line


Disqus comments loading...