Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

itsmrjon

macrumors regular
Original poster
Jun 11, 2011
122
0
Chicago
Tried using opendiff for the first time in a while today (on Lion with current xcode app version), and I see the following:

Code:
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: https://forums.macrumors.com/posts/15384880/
 
Last edited:
You can install command line tools from Xcode's preferences (Downloads > Components), or use xcrun.
 
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.
Code:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/

Then it goes back to working like normal.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.