Resolved What happened to opendiff?

Discussion in 'Mac Programming' started by itsmrjon, Jul 30, 2012.

  1. itsmrjon, Jul 30, 2012
    Last edited: Aug 1, 2012

    macrumors regular

    Joined:
    Jun 11, 2011
    Location:
    Chicago
    #1
    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: http://forums.macrumors.com/showpost.php?p=15384880&postcount=3
     
  2. macrumors regular

    Joined:
    Apr 8, 2009
    #2
    You can install command line tools from Xcode's preferences (Downloads > Components), or use xcrun.
     
  3. thread starter macrumors regular

    Joined:
    Jun 11, 2011
    Location:
    Chicago
    #3
    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.
     

Share This Page