Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I just updated to 10.7.3 and can no longer find the FileMerge application, which is part of the Xcode developer tools package. Did apple remove this in 10.7.3?

I've checked in my developer directory, and used Spotlight, but it is nowhere to be found.

share|improve this question
1  
It's still there for me. /Developer/Applications/Utilities/FileMerge.app –  ughoavgfhw Feb 17 '12 at 16:14
4  
You can access it via the command line with opendiff. –  lhf May 15 '12 at 9:53
2  
I had the same problem after the 10.9 Mavericks upgrade, and after accepting all the suggested Xcode upgrades, I was able to choose FileMerge from the Xcode "Tools" menu, after which FileMerge appeared in the Spotlight suggestions once more. –  Andrew Swan Oct 24 '13 at 4:21
add comment

3 Answers 3

up vote 28 down vote accepted

With Xcode 4.3, Apple has moved the content of /Developer to the usual places for applications etc. Filemerge is accessible by starting Xcode and then accessing Xcode -> Open Developer Tool. If it's not listed there, select "More Developer Tools" to install it.

Physically it's part of Xcode.app (Xcode.app/Contents/Applications/FileMerge.app) and can be executed stand-alone by inspecting the package content of Xcode.app. If you really need it outside of Xcode often, you can also create an alias/symlink to start it directly (or just drag it into the Dock).

share|improve this answer
    
FYI Spotlight indexes aliases so create an alias and drop it in ~/Applications folder to have it show up in Spotlight. –  Steve Moser Mar 22 '12 at 17:12
    
I found that an alias to FileMerge.app would give me the error "Item is used by Mac OS X and can't be opened" when opening from Spotlight, and a symlink didn't show up in Spotlight. Not sure if there's a solution. –  Andrew Vit Apr 23 '12 at 17:41
1  
Copying the app to the Applications folder yields an error as well - apparently the app needs to run in its own native folder. But @Till's AppleScript approach works great! Open the AppleScript editor, paste in his line, "Save as..." an app in the Applications folder - and enjoy FileMerge! Thanks @Till! –  Traveling Tech Guy Jan 3 '13 at 21:01
add comment

You can save an AppleScript as application to launch FileMerge inside Xcode:

tell application "/Applications/Xcode.app/Contents/Applications/FileMerge.app" to activate
share|improve this answer
    
Good job! Completely forgot about AppleScript. –  Traveling Tech Guy Jan 3 '13 at 21:01
    
Thank goodness! –  DonnaLea Apr 9 at 19:45
add comment

If you want to launch it from Terminal:

open -a FileMerge

open -b com.apple.FileMerge

(Both are case insensitive.)

You can also save this as a shell script and make an app with the following directory structure:

+ Launch FileMerge.app/
  + Launch FileMerge

Here's a shell script that will make such an app:

EXE_NAME='Launch FileMerge'
mkdir "$EXE_NAME".app
cd "$EXE_NAME".app
echo -e '#!/bin/sh\nopen -b com.apple.FileMerge' > "$EXE_NAME"
chmod a+x "$EXE_NAME"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.