Question

I ´ve just updated to Xcode 4.2 with iOS 5 and my older projects run OK on iPhone iOS 5 simulator , but I can´t run it on iOS 4.3 simulator or in my iPhone 3G 4.2.1. The application crash.

What can I do?, I´m starting to think it was not a good idea to update!

sorry for my english.

Program received signal: SIGABRT

Console: 2011-11-01 09:14:05.555 Romanos[1351:f203] * Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key numero.'

Was it helpful?

Solution

That normally means that one of your XIBs container a reference to an IBOutlet called numero that no longer exists (or has been renamed, or is being referenced on the wrong object). You need to find and delete the reference from your XIB.

I'd look at RomanosViewController's XIB first. :)

OTHER TIPS

It could be what Benjie Gillam said, but also make sure your view controllers are set to the correct classes.

You can check in the interface builder. For example, click on File's Owner or the tab's view controller in a Tab Bar app, and look at the Identity Inspector (command + option + 3). You should select the view controller's class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top