実行コマンドラインxcrun:error:active developer pathエラー解決方法

510 ワード

オンラインappのバグを解決する準備をしているときに、コマンドラインの位置決めエラーコードの位置を実行するときに次のようなエラーが発生します.
xcrun:error:active developer path("/APplications/Xcode 7.1.app/Clontents/Develloper")does not exist,use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools(or see man xcode-select)付:私のxcode 7.1が削除されたため、私のエラーです
解決方法:端末はsudo xcode-select -switch /Applications/Xcode.app/Contents/Developerコマンドを実行し、システムのパスワードをもう一度入力して完了します.