Opendiff不再开始了

时间:2012-02-15 20:23:20

标签: xcode versions filemerge opendiff

今天我尝试在我的MacBook Pro上使用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.

你知道它为什么突然开始发生以及如何解决它?

3 个答案:

答案 0 :(得分:20)

这是因为4.3 /Developer/已移至/Applications/Xcode.app/Contents/Developer/

新路径的正确设置是:

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

答案 1 :(得分:2)

修正:

sudo xcode-select -switch /Developer/

我仍然不确定为什么我不再工作了。

答案 2 :(得分:1)

sudo xcode-select -switch /Developer/ 

为我工作

- 我使用带有FileMerge的版本,并在升级到OSX 10.7.3后立即开始看到相同的错误代码

相关问题