美文网首页
遇到一个xcode问题

遇到一个xcode问题

作者: 椰果粒 | 来源:发表于2019-10-10 21:28 被阅读0次

更新xcode之后遇到以下问题:

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

解决:

1、打开终端, 输入 sudo xcodebuild -license
2、终端提示敲回车键(enter)打开许可协议,照做
3、终端提示 一直按下 “space” 键阅读许可协议,会自动阅读到最后一行停下
4、最终,终端会出现三个选项,agree 、print、cancel,输入agree,然后enter

相关文章

网友评论

      本文标题:遇到一个xcode问题

      本文链接:https://www.haomeiwen.com/subject/ikqzpctx.html