Friday
Jun112010
Xcode 3.2.2 (iOS 3.1.3 SDK) with Xcode 3.2.3 (iOS 4.0)
I want to upgrade to Xcode 3.2.3 to start developing for iOS 4.0... But I want to keep Xcode 3.2.2 on the same computer. Why would I do that? Well, here is why I will do just that.
It appears that Xcode 3.2.3 with iOS SDK 4.0 GM comes only with SDK iOS 3.2 and SDK 4.0 GM. The problem is how do I still maintain my application targeting iOS 3.1.3 since I cannot set Base SDK to 3.1.3 anymore?
Why would I set Base SDK to a previous version, before 4.0? Because I may not want to get warnings about depreciated constant, frameworks, etc. when compiling 3.1.3 based applications...To me warnings are errors that needs attention. If I don't want to deal with them, I set Base SDK to 3.1.3 where I know that my code is fully compliant.
So, I'll install Xcode 3.2.3 with iOS 4.0 GM in /DeveloperIOS40GM.
|
5 Comments |
5 Comments | 

Reader Comments (5)
Interesting, where did you learn to do like that?
I've learned that by following forum posts on the devforums.apple.com web site. Very interesting stuff going on there.
Well you
Sorry: Well you can do it all from XCode 3.2.3. You need to set the properties of the project so that you use 4.0 as base. This if you want to produce iPhone code. Then you need to set the TARGET of the development to 3.0 or whatever low release you like best. You do not need to have two different SDK installed on the same machine. This is much simpler and is the right way of doing it. I did find it on devforums.apple.com, but apparently i dug just a little deeper. Ciao!
You absolutely right. But, some dev didn't like having warnings or errors when building against 4.0... But now that iOS4 is out, this become irrelevant and having both versions on the same machine is less and less useful.