I have both xcode 3.2 and 4.0 version installed on my PC but my problem is whenever I open a project, it opens up with xcode 3.2. Although I have the option of opening my project with open with->xcode 4.0 , I want to change the default Xcode to 4.0. Is there any way it can be done?
Use Finder's context menu (i.e. right click on the project) and choose "Get Info"
In the window that pops up is a section titled "Open With" - use that to choose the appropriate version of Xcode, and then use the "Change All" button to specify that it should be used for all projects.
On my machine I renamed Xcode.app
for Xcode 3 to Xcode 3
which makes it easy to distinguish between the two versions.