2017-06-12 65 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錯誤在使用時不存在。