Eu estraguei minhas ferramentas de linha de comando. Eu já os instalei, também instalei a versão beta 2 macOS 10 do site de desenvolvedores da Apple porque o comando brew install putty
estava me pedindo para remover o Xcode ou atualizá-lo. (Aqui é onde eu errei, em vez de instalar uma versão atualizada do Xcode.app, eu instalei as ferramentas de linha de comando Xcode 10.14)
Então agora o comando brew install putty
dá o erro
Error: Your Xcode (9.4.1) is too outdated.
Please update to Xcode 10.0 (or delete it).
Xcode can be updated from
https://developer.apple.com/download/more/
Error: The Command Line Tools header package must be installed on Mojave.
The installer is located at:
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
quando executo o xcode-select --install
, ele diz que as ferramentas da linha de comando já estão instaladas.
Se eu remover o Xcode.app, será mostrado que:
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use 'sudo xcode-select --switch path/to/Xcode.app' to specify the Xcode that you wish to use for command line developer tools, or use 'xcode-select --install' to install the stan
dalone command line developer tools.
See 'man xcode-select' for more details.
Error: The Command Line Tools header package must be installed on Mojave.
The installer is located at:
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
Error: Git must be installed and in your PATH!
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use 'sudo xcode-select --switch path/to/Xcode.app' to specify the Xcode that you wish to use for command line developer tools, or use 'xcode-select --install' to install the stan
dalone command line developer tools.
See 'man xcode-select' for more details.
Error: The Command Line Tools header package must be installed on Mojave.
The installer is located at:
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
e o caminho mencionado nos erros acima para o arquivo pkg
para eu instalar não existe