I’m curious to know what are considered as best practice when upgrading Xcode. Say upgrading from Xcode 4.1 (iOS4 SDK) to Xcode 4.2 (iOS5 SDK).
Should the previous Xcode version be uninstalled with devtools-uninstall script or should I just install it over the old Xcode and let Apple handle the upgrade.
What about projects that I have created in Xcode 4.1. Will all the different settings and configurations for those projects automagically be adjust for Xcode 4.2?
These are some basic questions that I have about the upgrade process. If you have any hints & tips to make the upgrade easier please let us know in this thread.
This is what I personally do for each upgrade:
Backup the working
/DeveloperdirectoryRun the new Xcode installer using the default install location (
/Developer)This is how it looks on my machine (sometimes I just symlink
/Developerlatest version after installing it to/Developer-v#):Your projects are not stored (hopefully) in /Developer, so any install/uninstall will not touch your current project files.