I have two Xcodes versions installed 3.2.4 and 4.2. And the former one was the default one.
This wasn’t a big deal unless I tried to open a project in Finder which caused Xcode 3.2.4 to pop up.
Defaultig to Xcode 4 is a bit tricky:
- CTRL-click on a project so context menu pops up, select Open with
- File selection dialog pops up.
- Press Shift-CMD-G - Goto Filder dialog pops up.
- Type
/Developer/Applications/and press return to goto the folder - Select
Xcode.appand check Always open with to make it default
To make Xcode 3 default, repeat same steps but use /Developer-old/Applications/ for step 4.