チェックリストを再インストールする前にxcodeコマンドラインツール
環境と現象
$ xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
本当にインストール?
チェックパス
/Library/Developer/CommandLineTools
チェック場所
Xcodeの設定
私にとってこの設定は空だった.そして今それは動作します.
$ xcodebuild -version
Xcode 12.1
Build version 12A7403
まだ動作しないし、再インストール
$ xcode-select --install
or$ rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install
またはApple DevelopersからインストーラをダウンロードしてくださいReference
この問題について(チェックリストを再インストールする前にxcodeコマンドラインツール), 我々は、より多くの情報をここで見つけました https://dev.to/kurab/check-list-before-re-install-xcode-command-line-tool-295lテキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol