xcode - 仅Sierra的Brew安装错误Xcode不足

标签 xcode macos homebrew

我正在尝试使用HomeBrew v1.3.8在运行xCode v9.1的Mac OSX Serra v10.12.6上安装软件包。

安装和错误是

TS-Mac-Pro > brew install dos2unix
Error: Xcode alone is not sufficient on Sierra.
Install the Command Line Tools:
  xcode-select --install 

然后我运行命令
xcode-select --install 

表示无法从软件更新服务器获得命令行工具包。

我进入xCode时,它表明已安装了命令行工具。
TS-Mac-Pro > xcode-select -p
/Applications/Xcode.app/Contents/Developer 

任何帮助将非常感激。

西奥

最佳答案

我去了Apple Developer网站并直接下载了命令行工具dmg。首先需要设置一个Apple帐户。

命令行工具位于-

https://developer.apple.com/download/more/

安装下载的dmg和volia-HomeBrew已备份并正在运行。

关于xcode - 仅Sierra的Brew安装错误Xcode不足,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47569264/

相关文章:

iphone - 通过 segue 传输 View Controller 后隐藏单元格

ios - Swift 2.0 随机 EXC_BAD_ACCESS

java - 将 Android Studio 项目从 Windows 移动到 Mac 后出现 ClassNotFoundException (AppCompatActivity.class)

cocoa - TableView 未根据绑定(bind)更新 - 第二部分

mysql.server 重新启动给出错误消息

Homebrew 无法链接 libpng 尝试安装 gdal

swift - 从 UITableViewCell 内的 tableView 中删除单元格

java - 有通用语言吗?

mysql - brew install mysql,尝试停止服务器时出错

c++ - Xcode:单例实现错误: "Redefinition of class"