How to start an iPhone 3.1.3 project in Xcode 3.2.3 (iPhone SDK 4 beta)
- by Zordid
Hi there!
I am having big problems since I downloaded the beta version of iPhone SDK 4.0.
Okay, I just started to look at iPhone development a few weeks ago, but I cannot figure out how Xcode is supposed to work:
whenever I start a new project, I choose a template like "View-based application" or so. Now, the target will always (at least I did not find a preference anywhere!) be the latest SDK: 4.0.
But then: switching the target back to, say, 3.1.3 the template files seem to contain errors! Starting an empty application this way yields an exception:
Terminating app due to uncaught
exception 'NSUnknownKeyException',
reason: [...] this class is not key
value coding-compliant for the key
rootViewController
sick
Now, my (stupid) question: How do I develop an application NOT targeting the latest SDK, but the standard 3.1.3 SDK?? In other words: I would expect Xcode not only to ask for a project type in the New Project window, but also for my desired target!!
Am I right that the templates generated with this step are not valid for any other target than 4.0?
How can that be??
...I want my Eclipse back! sigh
Can anybody help me please?