Is it possible to run both Xcode 3 and 4 side-by-side on the same machine?

As the title says, can I have both versions of Xcode installed on the same machine?


Solution 1:

To answer your question: Yes. When you install Xcode 4 (and its dev tools) your "old" Xcode folder gets renamed as Developer-old (provided you already had Xcode 3 installed)

To answer Ricket: Xcode 4 doesn't support a few things (yet) like Plugins and some features (like assembly code) are non existent in Xcode4 (perhaps yet or never) so if you rely on some things you might want to keep a copy of Xcode 3 around.

If you want to take a look at a good Xcode 4 review (and see some of the key benefits/drawbacks) have a look at this.

Solution 2:

Yes.

From the doc 'About Xcode and iOS SDK.pdf':

By default, Xcode 4 installs in the folder /Developer - but if you wish to install it in a different folder, allowing it to co-exist with previous Xcode 3.2 installations, you can change this location. You do this by selecting "Custom Install"

The doc gives detailed instructions.