Linking Gitbox diff tool to FileMerge after upgrading to Xcode 5

2.4k Views Asked by At

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?

4

There are 4 best solutions below

1
On BEST ANSWER

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

0
On

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.

0
On

That happened precisely because your Xcode is still referencing the old version. Open Xcode > Go to preferences > Then click on "Locations" Tab. You will see a dropdown labeled "Command Line Tools". Pick your latest version and voila!

1
On

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.