The console only says this, and the app won't get past Default.PNG without crashing
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Simple_RSSAppDelegate 0x5248d0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key viewController.'
2009-08-08 22:23:54.135 Simple RSS[13199:20b] Stack: (
2514415595,
2485665339,
2514414353,
2453313768,
2453312334,
2453856193,
818019035,
2514369317,
818013737,
818022028,
816113908,
816149067,
2453391502,
2513918197,
2513918632,
827745792,
827745989,
816114848,
816160924,
11212,
11066
)
PLEASE HELP ME OUT !!!!!!!!!
There's no viewController property in your app delegate but you still use it from a nib file.
Well, without more info, the error sounded vaguely familiar. This write-up may help you out in getting this resolved.
Related
when i try to init my controller from storyboard in code I have an error : "
Missing proxy for identifier UpstreamPlaceholder-Kat-VH-9Yv.
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIProxyObject 0x7fad23db07f0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key containerView".
I already deleted in storyboard file and re-create my containerView with all connections & referents but its didn't help. Also I try to delete APP from simulator, change simulator, clean project and restart Xcode(8.0).
Check if you using Storyboard references
If YES - remove them and use push/present from code.
I already had similar situation and references was a reason of crashes. I don't know why, but sometimes adding them in one place can lead to crash in absolutely another without any connection. Only using step-by-step restore I found a reason
I have made an app in xcode and whenever I build or run the app it says there are no issues but then after the launch image displays the app seems to crash and throw up this error.
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key high_score_outlet.'
* First throw call stack:
(0x1c24012 0x1609e7e 0x1cacfb1 0xcae41 0x4c5f8 0x4c0e7 0x76b58 0x619019 0x161d663 0x1c1f45a 0x617b1c 0x6198da 0x3fb68b 0x3fb9a2 0x3fa876 0x40bcb5 0x40cbeb 0x3fe698 0x255fdf9 0x255fad0 0x1b99bf5 0x1b99962 0x1bcabb6 0x1bc9f44 0x1bc9e1b 0x3fa17a 0x3fbffc 0x211d 0x2055)
libc++abi.dylib: terminate called throwing an exception
I am not quite sure why it is crashing because it says that there are no issues in the code when building or running the app.
Any ideas how to fix it?
You may have renamed your properties and forgot to reconnect the IBOutlet to your component in the Interface Builder file. Whenever you change a property in code that is an IBOutlet, you should check Interface Builder and reconnect that item if the connection was broken.
Your app will compile just fine because Interface Builder Outlets are connected at runtime, when the nib is being loaded.
It is most likely an IBOutlet that has gotten out of date.
Go to the first controller that will be loaded in your storyboard and check out the Connections Inspector (⌥⌘6) and look for an outlet connected to high_score_outlet.
This may be left over from an earlier refactoring. You'll want to disconnect it and set up the correct connection
Check whichever class has the property -high_score_outlet. The message you're getting means that the runtime can't find the relevant property implementation, so either:
you haven't defined it correctly in the class, or
you are calling it on an object that isn't the class you think it is. Use the debugger to verify the class of the object on which the method is being called.
I am new on ios and i am following a tutorial to develop a calculator.
When i build my project it succeds, but on run time it crashes and throwa an exception:
`2012-09-19 10:03:51.469 AhsanCalculator[325:f803] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x6d59870> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key pushOperand.'
*** First throw call stack:
My code is here if you need more detail. Tell me what you need and i will give you all the details.
Xcode = 4.3.3
5.1 iPhone simulator
Please help to solve this issue
The crash occurred for you is because, in your xib you have linked/connected some wrong objects, i mean a UITextField to a UITextView or some thing like that.
When you open Xib right clicking on the files owner object, it shows some of the IBOutlets connected with a warning icon, delete those and connect to the right/correct one.
This will clear your crash, and works fine.
As you are new to iOS development, here are some link to learn about what to when a crash appears in the project,
Its is by Raywenderlich, here it is a 2 part tutorial part 1 and part 2.
Using a ContainerView with an embed seque
I'm getting this:
* Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UIStoryboardEmbedSegueTemplate'
My searches didn't provide a lot, so:
Does this mean
"Sorry, only on iOS6" ?
Yes, this really seems to be a "iOS 6 only"-feature. I did not see it in iOS 5 either... But didn't find it in the Docs so far.
I'm trying to realize an universal application (for iPhone/iPad), and I'd like to use the same UIViewController to set up the behaviour for both of the devices.
I got a surprising error at launch time, which is :
2010-07-15 11:31:03.420 AppUniverselle[2761:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7000670> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key myLabel.'
2010-07-15 11:31:03.421 AppUniverselle[2761:207] Stack: (
29291611,
2421585161,
...
2727445,
2764719,
8884,
8738
)
I can't figure out where I failed. Furthermore, to avoid any typo problem, I restarted the project, but it ends on the same error.
The main surprising point is that the application works fine on the iPad simulator, but not on the iPhone one. Perhap's there is a problem with the iPhone simulator ?
Does someone know the answer of this question or ever heard about that kind of problem ?
It looks like you have an outlet called myLabel in your NIB file, but there's no such outlet in your view controller instance.