Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linking Gitbox diff tool to FileMerge after upgrading to Xcode 5

I just upgraded to Xcode 5 and now Gitbox doesn't seem to be able to find FileMerge as the diff tool, and has no options for setting a path manually. Anyone know a way to link it up again?

like image 265
Tony Beninate Avatar asked Sep 19 '13 14:09

Tony Beninate


3 Answers

Try changing the active Xcode via Terminal:

   xcode-select --print-path
           Prints the path of the active Xcode folder
   or: xcode-select --switch <xcode_path>
           Sets the path for the active Xcode folder
   or: xcode-select --version
           Prints the version of xcode-select

And if that doesn't work, Xcode allows one to select which set of command line tools one can use (it's hidden in the "Locations" preference pane of Xcode.

like image 113
Michael Dautermann Avatar answered Nov 09 '22 18:11

Michael Dautermann


Fail. Fail. Fail. The problem was I just needed to fire up Xcode apparently :) Oops.

like image 4
Tony Beninate Avatar answered Nov 09 '22 17:11

Tony Beninate


In Xcode 8.3.3 I went to preferences and under the tab Locations choose the CommandLineTools dropdown which was empty, and applied Xcode 8.3.3

Now my Gitbox opens FileMerge when comparing files, like it used to.

like image 4
stahlmanDesign Avatar answered Nov 09 '22 17:11

stahlmanDesign