View Full Version : [Resolved] What happened to opendiff?

Jul 30, 2012, 01:06 PM
Tried using opendiff for the first time in a while today (on Lion with current xcode app version), and I see the following:

iMac:git3d iDesk$ opendiff
Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.
iMac:git3d iDesk$

There is infact no developer path from root. I'm a bit confused.

Does this command still work in the new appstore version? if so how do i remedy it?

Thanks in advance.

Update: http://forums.macrumors.com/showpost.php?p=15384880&postcount=3

Jul 30, 2012, 01:39 PM
You can install command line tools from Xcode's preferences (Downloads > Components), or use xcrun (https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcrun.1.html).

Aug 1, 2012, 06:02 PM
found the solution. (mind you I did have CLI tools installed).

Apparently you need to explicitly set the path using this command since the Developer folder has a new location.
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/

Then it goes back to working like normal.