`
jsntghf
  • 浏览: 2481028 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

can't exec '/usr/bin/make' (No such file or directory)

    博客分类:
  • iOS
阅读更多

今天编译项目的时候,Xcode报错:can't exec '/usr/bin/make' (No such file or directory),在控制台执行make命令也报错:-bash: make: command not found。

 

这是因为Xcode4.3.2默认没有安装Command Line Tools。

 

打开Xcode菜单中的Preferences,切换到Downloads选项卡,选中Components选项,列表中列出了一些可选的组件,其中有一项是Command Line Tools,点击后面的Install按钮进行安装。

 

安装完之后,可以在命令行执行make -v确认安装成功。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics