2017-06-12 67 views
0

我已经安装的Xcode家酿安装问题

xcode-select --install 
xcode-select: error: command line tools are already installed, use "Software Update" to install updates 

在此之后我做了BREW更新

brew update 
Already up-to-date. 

再冲泡医生给下面的错误

brew doctor 
Please note that these warnings are just used to help the Homebrew maintainers 
with debugging if you file an issue. If everything you use Homebrew for is 
working fine: please don't worry and just ignore them. Thanks! 

Warning: No developer tools installed. 
Install the Command Line Tools: 
    xcode-select --install 

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/llnode.rb 
undefined method `>=' for nil:NilClass 
Error: Cannot tap homebrew/core: invalid syntax in tap! 
Error: Failure while executing: /usr/local/bin/brew tap homebrew/core -q 

我已经重新安装自制,但它没有帮助。

粘贴我酿的配置

brew config 
HOMEBREW_VERSION: 1.2.2 
ORIGIN: https://github.com/Homebrew/brew 
HEAD: 54e01d76db34a3a649c79b189873bfd0a52dbc9f 
Last commit: 8 days ago 
Core tap: N/A 
HOMEBREW_PREFIX: /usr/local 
HOMEBREW_REPOSITORY: /usr/local/Homebrew 
HOMEBREW_CELLAR: /usr/local/Cellar 
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com 
CPU: quad-core 64-bit broadwell 
Homebrew Ruby: 2.0.0-p648 
Clang: N/A 
Git: 2.11.0 => /Library/Developer/CommandLineTools/usr/bin/git 
Perl: /usr/bin/perl 
Python: /usr/bin/python 
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 
Java: 1.8.0_131 
macOS: 10.12.4-x86_64 
Xcode: N/A 
CLT: N/A 
X11: N/A 

回答

0

问题是因为Xcode的安装错误的。 我重新安装了Xcode和自制软件,它工作正常。 不知道为什么xcode错误在使用时不存在。