Install Xcode 4 and keep Xcode 3?

2019-01-20 00:56发布

问题:

I've read many time that we can install Xcode 4 and keep Xcode 3.

BUT, i've also read that it was not possible with Xcode 4 GM.

Anyone have done this with success?

Update:

Ok, I have installed-it. (different folder)

But it always crash at start. (xcode encounter an internal logic error)

Someone have an idea?

回答1:

It's fairly easy to do. When running the installer, just change "Install location" to something other than /Developer



回答2:

You can install them both fine, simply choose separate directories. I have Xcode 3 installed into its vanilla location (/Developer) whereas Xcode 4 is in '/Developer/XCode4'.

To change the install location: On the 'Installation Type' screen within the installer you'll notice that the 'Developer' folder listed next to the top install item is actually a dropdown - click this then choose 'Other..' to select a custom location.



回答3:

Xcode 4 is still under NDA, but you can always choose to install Xcode 4 in another directory.