解决 Agreeing to the Xcode/iOS license requires admin privileges
2015-10-19 18:49
477 查看
一时兴起,决定将mac 上的xcode b1 卸载掉,安装xcode b3,卸载和安装过程一直很顺利,问题出现在我使用svn的过程中,当我打开终端,敲入svn update命令后,屏幕上毅然决然的出现了“
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
”,
一阵google,没找到最终解决方法,问题总的解决,从错误信息来看,似乎需要通过管理员身份来接受许可协议,于是试着从这个角度google,终于在这里找到了解决方法:
1、打开终端,输入 sudo xcodebuild -license
2、终端提示敲回车键(enter)打开许可协议,照做
3、终端提示 按下 “space” 键阅读许可协议,按“q” 不阅读
4、最终,终端会出现三个选项,agree 、print、cancel,不用想,能不是agree 吗!输入agree,然后enter
至此问题解决,
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
”,
一阵google,没找到最终解决方法,问题总的解决,从错误信息来看,似乎需要通过管理员身份来接受许可协议,于是试着从这个角度google,终于在这里找到了解决方法:
1、打开终端,输入 sudo xcodebuild -license
2、终端提示敲回车键(enter)打开许可协议,照做
3、终端提示 按下 “space” 键阅读许可协议,按“q” 不阅读
4、最终,终端会出现三个选项,agree 、print、cancel,不用想,能不是agree 吗!输入agree,然后enter
至此问题解决,
相关文章推荐
- 检查内核反馈uevent消息,并提取出USB插入事件
- Boolean.parseBoolean("true") 和 Boolean.getBoolean("true");的区别及用法
- 手势和UI控件之间冲突的解决方法(比如UITapGesture和UIButton冲突,UIPanGesture和UISlider冲突)
- mvc5 @RenderSection("scripts", required: false) 什么意思
- UILabel顶端对齐
- blueZ应用编程
- 一步一步来做Android UI自动化,UiAutomator实例
- iOS UITabBar的隐藏和显示
- UI18_数据持久化
- UI17_NetWorkingTool
- OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)的用法
- bluetooth基础知识
- UI17_KVO, 通知中心
- 【issue】"linker command failed with exit code 1" [xcode7]
- QuestionAnsweringSystem技术实现简要分析
- 这个函数的返回 值value的二进制位模式从左到右翻转后的值。
- require
- Ant 的build.xml 详解
- iOS9 UI Tests
- 更改UILabel的字体样式及某段文字中的颜色