Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,672
6,212
I have the iPhone 4.0 SDK installed on my computer but would like to make an application for iPhone OS 3.1.3. I do have that SDK installed (or at least I did prior to installing the one for 4.0,) and found how to make my Base SDK 3.1.3 and my target 3.1.3, but the blank templates seem to crash when I run them using the iPhone 3.1.3 simulator.

I'm given this error:
2010-04-25 18:48:03.537 Spyder[10561:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIWindow 0x391c500> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key rootViewController.'

What do I need to change for the blank iPhone 4.0 template to run under the 3.1.3 simulator?
 
You will need to re-install 3.2/3.1.3 sdk to do this. 4.0 is for testing anything built with this cannot be submitted to the app store regardless of what it was built FOR. It matters what its built WITH. I found out the hard way when I only had the beta for the iPad but I wanted to release an update for my 3.1.2 application.

Then I had to re-download 3.1.3 at the time lol.

Now when i have a beta I have two separate installs, one beta, one dev.
 
Thanks for the info, I guess I'll redownload the old sdk then...

Please don't bump.

What alternative would you propose? I had a valid question, it got no answer, and fell to page four after two days. The way I see it, I can either make a new topic (which I know is frowned upon,) or bump it back to the front page.
 
What alternative would you propose? I had a valid question, it got no answer, and fell to page four after two days. The way I see it, I can either make a new topic (which I know is frowned upon,) or bump it back to the front page.

The only alternative is to followup post with some pertinent information that amounts to something more than "bump". For more information, see the Forum Rules, Minor Things, #11.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.