Can we have both Xcode 3.2.5 and Xcode 4 on the same mac - iphone

I am currently using Xcode 3.2.5 for developing my project. But, i was very impressed with Xcode 4 and want to try it out.
Can i have both the versions on my mac and try them out..???
if i install Xcode 4 and remove my previous version, will it effect my current project???
Thankyou

This is possible, but if I'm not mistaken will only work if you download Xcode 4 from the iOS Developer Center. When installing Xcode 4, make sure you install it in a separate directory from the default otherwise it will overwrite 3.2.5.
If you install Xcode 4 from the Mac App Store, you won't have the choice and all prior versions of Xcode will be removed.

yes... install the xcode 4 in a separate directory ...

Related

XCode 4.6.3 not detecting iphone device which has 7.0.2

The OS version of my phone is 7.0.2 (11A501). I am using XCode 4.6.3. The IDE Xcode is not detecting my iPhone. When i go to organizer it tells me the following
The version of iOS on “Joe iPhone” is not supported by this
installation of the iOS SDK. Please restore the device to a version of
the OS listed below, or update to the latest version of the iOS SDK;
which is available here.
However, i have read in various forums that if i download xCode 5 i will not be able to build for ios 5 or 6 applications. What should i do ? Help/
It sometimes suffices to copy the device support files from a newer Xcode version to an older one. Try copying
Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.0 (11A465)
to your Xcode 4 installation, but name it "7.0.2 (11A501)"
There is a neat trick to install the app on and iOS 7 device with Xcode 4.6
First download from the developer center Xcode 5 and install it manually in a separate folder in your Applications folder (I did add it in an Xcode foler, inside Applications).
So now you have both Xcode 4.6 and Xcode 5 on your Mac.
Now, run your code on Xcode 5 and install it on your phone (press the debug button on your iOS device). Once this is done, you can quit Xcode 5, open Xcode 4.6 and it will be able to debug the app on your iOS7 device just fine!
You will be able to run iOS 6 apps easily from xCode 5 - no problem.
Updating xCode is only way to work with iOS 7 devices - you have no choice.
Yes, you have to update your xcode, or create an IPA and install it on your device with iOS 7.0.2 by iTunes.
First of all, definitely you have to install XCode5.
Initially you can build application only against IOS7, but you can manually add IOS6 SDK.
XCode SDK's are placed on this location:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
You can copy IOS6 SDK from this location of XCode4.6 and paste it into same location in XCode5.
This way you can choose will you build your application against IOS6 or IOS7.
Run your code in Xcode5 the again run in Xcode4.6 will solve problem.
if you want to debug your Apps in xcode with ios 7 then, Updating xCode to version xcode 5 is only way to work with new ios (ios 7.0.2) and xcode 5 requirement is MAC os 10.8.4 , you have to update your OS ,if you right now using older version of operating system
Thanks

how to uninstall xcode and install another version? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Uninstall Xcode 4 and use Xcode 3
I am Abbas. I am new to iPhone Programming.
Tomorrow I have updated my xcode to 4.2 from version 3.2, But i am having problem to use it.
I have to uninstall xcode 4.2 from my mac and install xcode 3.2.
I have setup of both the version, but i do not know the procedure to uninstall xcode.
So.
Please Help me.
Thanks.
Open Terminal and use this command:
sudo /Developer/Library/uninstall-devtools –mode=all
if your XCode is in different directory, use that path. After that you can delete the rest of the /Developer directory.
From Xcode 4.3, the xcode is available on mac app store. If you download it from mac app store, it will be installed in this folder: /Applications/Xcode.app.
If xcode version is below 4.3, the installation directory can be changed in the installation wizard. The default installation directory is in /Developer folder. And if you choose the default folder when install xcode4.2 and the xcode3.2 is also in that folder. The xcode3.2 will be over written and removed.
If you want to keep both xcode 4.2 and 3.2, you can install them in different folder. For example, I installed xcode 3.2 in folder /xcode3 and xcode 4.2 in folder /xcode4, and I also have a xcode4.3 in folder /Applications/Xcode.app.
The problem is the newest ios simulator is only available in the lastest xcode. For example, the ios5.1 simulator is only available in xcode4.3 . So, maybe we should spend time to get familiar with the lastest xcode.
Hope it will help.

Switch between Xcode 4.0.2 and 4.2

I am developing an app with Xcode 4.0.2 and iOS 4.3. Now I would like to upgrade to Xcode 4.2 and iOS 5 so that I could make my app ready when iOS 5 releases in October.
I am told by Apple's website that I should not submit apps that are built by Xcode 4.2 and should do it with the older Xcode 4.0.2, since the Xcode 4.2 and iOS 5 thing is still in beta.
But in the following few weeks I still need to have newer versions of my app submitted to App Store. So my question is,
If I upgrade my Xcode to 4.2, is it possible for me to switch back to Xcode 4.0.2?
If yes, how?
Thanks in advance!
You can simply install two versions of Xcode at the same time. During the installation it will let you choose the destination folder; you can pick another folder. For example, I use /Developer/Xcode (4.2). (However, if you did install 4.2 over 4.0.2, I don't think you would have a problem if you just ran the 4.0.2 installer again to downgrade.)
Taken from About Xcode.pdf (<Xcode>/About\ Xcode.pdf)
Installation
The Xcode installer will create the folder /Developer on the root of your boot partition, and place the Xcode developer tools and SDKs in this folder. If you have a previous version of Xcode you would like to preserve, you can copy the existing installation from /Developer to another folder to prevent having it updated automatically by the installer.
I would be cautious of this note (possible problems from incompatibility of tools???)
NOTE: The Xcode installer also installs system components and UNIX command line tools in a shared location on your Mac. Only one version of these components can exist on a computer at a time, and the last installed version replaces any previously installed set.
I always make sure I have a bootable drive with a decent working copy of xcode ready for releases in case I need to push a quick fix.
You can install 2 XCode in different folders.
Then you can switch back and forth.
Can I have multiple Xcode versions installed?

Is it possible to install Xcode 3 after we have installed Xcode 4?

I have Xcode 4 on my Mac. Is it possible to install Xcode 3 say in directory other than /Developer?
Please let me know.
The basic answer is yes, since they can be installed separate directories.
Can I have multiple Xcode versions installed?
You should re-install XCode4 after you install XCode 3, as it can install slightly older versions of some things XCode 4 relies on.

upgrading Xcode

I am currently working with Xcode 3.1.3 , i wanted to upgrade it to new version of Xcode 4.0.My question is will i be able to run my older applications which were built on Xcode 3.1.3 on the new version of Xcode.
Thanks in advance
Yes you will be able to do so. However PPC support and 10.4 support is dropped on the mac. If you want to play safe, you can install Xcode 4 in a separate location leaving your Xcode 3.1.3 untouched, so you can switch between these two.
The project format of Xcode 3.2 and Xcode 4 is the same.
One option is to install Xcode 4 into another directory. I just installed the latest version yesterday and it offers you this option. Here is a link here about this also. There is also a StackOverflow question here. If everything works as you expect you can delete Xcode 3.1.3. If not, you still have your current version around.