2012-02-15 22 views
5

今日私はMacBook Proでopendiffを使用しようとしましたが、このエラーが発生しました。Opendiffはもう起動しません

xcode-select: Error: No Xcode folder is set. Run xcode-select -switch <xcode_folder_path> to set the path to the Xcode folder. 
Error: /usr/bin/xcode-select returned unexpected error. 

なぜ突然起き始めたのか、それを修正する方法がありますか?で固定

答えて

2

sudo xcode-select -switch /Developer/ 

私も働いて停止した理由私はまだわかりませんよ。 - 私はFileMergeとバージョンを使用

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/ 
+1

ありがとう。これにより私の問題も解決しました。なぜこれらの答えが下落されたのか分かりません。 – Bishnu

20

OSX 10.7.3にアップグレードした直後に同じエラーコードが表示され始めた

1
sudo xcode-select -switch /Developer/ 

が私のために

を働いた:4.3 /Developer/で新しいパスのための適切な設定がある/Applications/Xcode.app/Contents/Developer/

に移動されているため

+2

私のためには機能しませんでしたが(xCode 4.3.1)、これはうまくいきました:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/ –

関連する問題