【问题标题】:"Can't exec '/usr/bin/make'"... when compiling a framework project“无法执行'/usr/bin/make'”...编译框架项目时
【发布时间】:2012-06-10 18:53:51
【问题描述】:

我正在尝试编译一个框架(作为项目文件夹提供)。当我点击构建时,我得到了这个:

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

...果然它不存在。我该如何解决这个问题?我正在使用 XCode 4.3.2

【问题讨论】:

    标签: cocoa xcode4 frameworks compiler-errors


    【解决方案1】:

    您可能需要在 Xcode 中 install the command-line tools

    如果这不能解决问题,也可以尝试在终端中执行此操作:

    sudo xcode-select -switch /Applications/Xcode.app
    

    【讨论】:

    • 安装命令行工具创建了“make”,现在可以构建了,谢谢!
    猜你喜欢
    • 2016-09-12
    • 1970-01-01
    • 1970-01-01
    • 2019-04-11
    • 1970-01-01
    • 2010-12-24
    • 2021-11-19
    • 2021-09-28
    相关资源
    最近更新 更多