1

I install Xcode4 first in the default path /Developer then I install Xcode3 in /XCode3 It seems that the installation was not completed because I can't see Xcode.app in /XCode3/Application. What should I do?

Update! I noticed that while I'm installing Xcode3 in the window "Install Xcode and iOS SDK" in path of Custom Install the check box of Xcode Toolset under Essentials is disable with unchecked status. What should I do?

2 Answers 2

1

I think the way to have Xcode 3 and 3 is to install Xcode 3 first - it will be in /Developer. Then Xcode 4 install will move Xcode 3 to /Developer-old and install Xcode 4 in /Developer. So in your case delete /Developer and start again.

2
  • The OP is asking how to install Xcode 3 and Xcode 4 on the same Mac, not replace Xcode 3 by installing Xcode 4. Nov 30, 2011 at 14:25
  • Which is exactly what I explained - if you do as I say you have both - as I do
    – mmmmmm
    Nov 30, 2011 at 15:48
-1

Since your question infer that you're aiming to have both Xcode 3 and Xcode 4 installed on the same Mac, your approach (described in your first paragraph) is correct that you need both to be installed in different paths.

In my company, to achieve your goal, the engineers

  1. first ensure the development Mac is clean (i.e. no residual libraries, receipts, etc) by executing sudo <Xcode>/Library/uninstall-devtools --mode=all
  2. after rebooting (to ensure any libraries in memory are released and their files can be deleted by emptying the Trash), empty Trash.
  3. install Xcode 3 in a path other than the default /Developer path.
  4. Install Xcode 4 in a path other than the path (specified in step 3) though majority of the engineers simply install at the default /Developer path.

The reason why we install Xcode 4 after installing Xcode 3 is to ensure the latest supporting development binaries & tools are installed. FYI, these binaries & tools are not in your specified /Developer folder but in default paths throughout the Mac startup partition.

From your description in paragraph 2, one possibility is you have "nested" installation of Xcode, one on top of the other. You'll have to remove the files installed or partially installed (by Xcode installer) to return your Mac to a clean environment before running the Xcode installer again.

1
  • Xcode 4 does this all for you Xcode 3 ends up in /Developer-old
    – mmmmmm
    Nov 30, 2011 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .