加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Xcode 4.5命令行工具 – xcode选择问题

发布时间:2020-12-15 01:59:36 所属栏目:百科 来源:网络整理
导读:在操作系统X 10.8.2上安装Xcode CLT 4.5.1之后,我遇到了需要编译的本机ruby宝石的问题。 输出错误与运行xcrun -find相同: xcode-select: Error: No Xcode is selected. Use xcode-select -switch,or see the xcode-select manpage (man xcode-select) for
在操作系统X 10.8.2上安装Xcode CLT 4.5.1之后,我遇到了需要编译的本机ruby宝石的问题。

输出错误与运行xcrun -find相同:

xcode-select: Error: No Xcode is selected. Use xcode-select -switch,or
see the xcode-select manpage (man xcode-select) for further information.

哪个CLT位置应该由xcode选择指向,因为它不再在/ Developer?

编辑:我没有安装Xcode应用程序,只有CLT。

解决方法

新的位置似乎是(确保以root身份运行):

sudo xcode-select -switch /Library/Developer/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读