因为没有安装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就可以了

posted @ 2018-10-10 17:36  sunny_fish  阅读(287)  评论(0编辑  收藏  举报