Opendiff不再启动
问题描述:
今天我试图在我的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.
你知道为什么它突然开始发生,以及如何解决它?
答
修正了:
sudo xcode-select -switch /Developer/
我仍然不清楚为什么我停了下来,虽然工作。
答
这是因为与4.3 /Developer/
搬到/Applications/Xcode.app/Contents/Developer/
新路径正确的设置是:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
答
sudo xcode-select -switch /Developer/
工作对我来说
- 我用FileMerge版本并在升级到OSX后立即开始看到相同的错误代码10.7.3
+2
没有为我工作(xCode 4.3.1),但这工作得很好:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/ – 2012-03-14 17:40:07
谢谢。这也解决了我的问题。不知道为什么这些答案是downvoted。 – Bishnu 2012-04-11 04:36:47