Is filemerge still available after Xcode 4.3 installation?
Asked Answered
G

2

41

Where can I find filemerge after Xcode is upgraded to 4.3?

Gilbertine answered 5/3, 2012 at 6:57 Comment(0)
O
49

In Xcode, choose this menu item: Xcode -> Open Developer Tool -> FileMerge. The app itself is here:

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

On the command line, use opendiff. You must have the command line tools installed -- go to Xcode, Preferences, Downloads tab, and install Command Line Tools if you haven't already.

Ohare answered 5/3, 2012 at 7:14 Comment(3)
Doesn't work for me: I get Error: Can't run /Developer/usr/bin/opendiff (no such file). Xcode 4.3 removed this folder altogether, and now /usr/bin/opendiff exists but gives me this errorEvangelistic
You can also launch it from directly within xcode, on the top bar. Click "Xcode" >> "open developer tools"Lasonde
If the command-line doesn't work, and you have no /Developer directory anymore, you probably need to: sudo xcode-select -switch /Applications/Xcode.app/Contents/DeveloperOhare
P
32

Run this in your terminal:

sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
Passer answered 20/3, 2012 at 10:11 Comment(2)
This didn't work for me, but sudo /usr/bin/xcode-select -switch /Applications/Xcode.app did.Otherworld
Weird, it worked for me. I'll leave it unedited for now, and people will just try both methods and use the one that works for them.Passer

© 2022 - 2024 — McMap. All rights reserved.