How do I open FileMerge.app on Mac OS 10.13+ and Xcode 9+?

Chris Williams picture Chris Williams · Nov 30, 2017 · Viewed 17.9k times · Source

I see FileMerge in the Xcode app bundle:

/Applications/Xcode.app/Contents/Applications/FileMerge.app

I know I can open it on the command line using:

open /Applications/Xcode.app/Contents/Applications/FileMerge.app

But there seems like there should be an easier way. How can I tell Spotlight about FileMerge so I can open it with the keyboard? Is there another way to launch it without having to use the command-line?

Answer

muchavie picture muchavie · Jul 28, 2018

Symbolic links also work.

% cd /Applications

% ln -s Xcode.app/Contents/Applications/FileMerge.app/ .