因为没有安装xcode,得不到xcode证书报错

新接的一个项目。在从gitlab上clone代码的时候报错:

Agreeing to the Xcode/iOS license requires admin privileges, please run “sudo xcodebuild -license” and then retry this command.

这个是因为本地没有安装IOS版本的Xcode。我将xcode安装完之后,再次clone就可以了

原文地址:https://www.cnblogs.com/waterFowl/p/9767927.html