Brew Xcode installation error is not enough for Sierra

I am trying to install a package on Mac OSX Serra v10.12.6 running xCode v9.1 using HomeBrew v1.3.8.

Installation and error

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

Then i run the command

 xcode-select --install 

which states that the command-line tool package is not available from the software update server.

As I enter xcode, it shows that the command line tools are installed.

 TS-Mac-Pro > xcode-select -p /Applications/Xcode.app/Contents/Developer 

Any help would be greatly appreciated.

Theo

+5
source share
2 answers

I went to the Apple Developer website and directly downloaded the dmg command line tools. You must first set up your Apple account.

Command line tools can be found in

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

Install downloaded dmg and volia - HomeBrew returns and works.

+11
source

I just fixed this problem by uninstalling the current installation of command line tools and reinstalling them. See Commands below:

 sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install 

In the end, this fixed the problem.

0
source

Source: https://habr.com/ru/post/1273760/


All Articles