You have not agreed to the Xcode license.

You have not agreed to the Xcode license.

Before running the installer again please agree to the license by opening

Xcode.app or running:

    sudo xcodebuild -license

 

在使用mac终端安装应用程序的时候,出现上面提示的时候,是因为Xcode没有打开激活,只需要,打开Xcode,同意各种协议,即可在终端安装应用程序了。

原文地址:https://www.cnblogs.com/spring87/p/4853931.html