brew pacchetto di installazione chiede di installare gli strumenti della riga di comando da un percorso che non esiste

2

Ho incasinato i miei strumenti da riga di comando. Li avevo già installati (e stavo lavorando abbastanza bene), ho anche installato la versione beta 2 macOS 10 dal sito degli sviluppatori di apple perché il comando brew install putty mi chiedeva di rimuovere Xcode o di aggiornarlo. (Qui è dove ho incasinato, invece di installare una versione aggiornata di Xcode.app, ho installato Xcode 10.14 strumenti da riga di comando)

Quindi ora il comando brew install putty restituisce l'errore

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 eseguo xcode-select --install , si dice che gli strumenti della riga di comando sono già installati.

Se rimuovo Xcode.app mostra che:

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 il percorso menzionato negli errori di cui sopra per il file pkg da me installare non esiste

    
posta Ishan Srivastava 19.07.2018 - 12:46
fonte

0 risposte

Leggi altre domande sui tag