【问题标题】:I installed Xcode 4 on Lion (Mac OS X 10.7.3) but the "make" command is still not found我在 Lion (Mac OS X 10.7.3) 上安装了 Xcode 4,但仍然找不到“make”命令
【发布时间】:2012-03-11 13:32:36
【问题描述】:

我最近从 Snow Leopard 升级到 Lion 并从 App Store 下载了 Xcode,但仍然找不到“make”:

-bash: make: command not found

【问题讨论】:

标签: xcode macos makefile osx-lion


【解决方案1】:

对于最新版本的 Xcode,命令行工具默认不捆绑。您需要从 Xcode 中下载它们。

我相信您可以在“Preferences > Downloads > Components”下找到它。

http://holgr.com/blog/2012/02/xcode-4-3-and-homebrew-where-did-my-command-line-tools-go/

【讨论】:

  • 我认为您还可以通过使用命令 xcrun 来使用 Xcode 包中的工具。例如 xcrun make。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-02-16
  • 2012-07-27
  • 2015-05-09
  • 2012-04-08
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多