私はこれを修正しようとして一日中机に頭をぶつけてきました!!!
ここでxcode-select -switch /path/to/xcode/
提案されているように提案を試みましたが、それでもこのエラーが発生します!
XCode 4.4 とコマンド ライン ツールも完全に削除しましたが、実行してxcrun
もこのエラーが発生します。
Xcodeとコマンドラインツールの新しいコピーをインストールしても、このエラーが発生します!!
コマンドの結果..
sh-3.2# xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
sh-3.2# xcrun -find
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such file or directory)