Search
Goodies

Social Networks
Designs I Like
« How to be promoted by Apple, according to Apple | Main | What's wrong with GoodReader for iPad »
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.

Reader Comments (5)

Interesting, where did you learn to do like that?

June 11, 2010 at 13:26 | Unregistered CommenterMilziade

I've learned that by following forum posts on the devforums.apple.com web site. Very interesting stuff going on there.

June 11, 2010 at 13:29 | Unregistered CommenterJF Martin

Well you

June 28, 2010 at 17:06 | Unregistered CommenterMgf64mba

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!

June 28, 2010 at 17:06 | Unregistered CommenterMgf64mba

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.

June 28, 2010 at 21:26 | Unregistered CommenterJF Martin

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>