问题描述
iota(52046)malloc:使用标准记录器将malloc堆栈记录到磁盘
iota(52046) malloc: recording malloc stacks to disk using standard recorder
iota(52046)malloc:进程52009不再存在,堆栈日志从/ tmp中删除/stack-logs.52009.iota.ACGxkQ.index
iota(52046) malloc: process 52009 no longer exists, stack logs deleted from /tmp/stack-logs.52009.iota.ACGxkQ.index
iota(52046)malloc:写入/tmp/stack-logs.52046.iota.X4vEf4的堆栈日志.index
iota(52046) malloc: stack logs being written into /tmp/stack-logs.52046.iota.X4vEf4.index
2011-01-24 12:49:59.519 iota [52046:207] Interface Builder文件中的未知类InterfaceAppDelegate。
2011-01-24 12:49:59.519 iota[52046:207] Unknown class InterfaceAppDelegate in Interface Builder file.
2011-01-24 12:49:59.526 iota [52046:207] Interface Builder文件中的未知类InterfaceViewController。
2011-01-24 12:49:59.526 iota[52046:207] Unknown class InterfaceViewController in Interface Builder file.
2011-01-24 12:49:59.531 iota [52046:207] * 由于未捕获的异常'NSUnknownKeyException'而终止应用程序,原因:'[setValue:forUndefinedKey:]:此类不符合键值编码关键窗口。'
2011-01-24 12:49:59.531 iota[52046:207] * Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key window.'
*** Call stack at first throw:
(
0 CoreFoundation 0x03122919 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x032705de objc_exception_throw + 47
2 CoreFoundation 0x03122851 -[NSException raise] + 17
3 Foundation 0x00600c2b _NSSetUsingKeyValueSetter + 135
4 Foundation 0x00600b99 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 285
5 UIKit 0x00a7ad0a -[UIRuntimeOutletConnection connect] + 112
6 CoreFoundation 0x03098b6f -[NSArray makeObjectsPerformSelector:] + 239
7 UIKit 0x00a79721 -[UINib instantiateWithOwner:options:] + 1041
8 UIKit 0x00a7b4b5 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
9 UIKit 0x0088a9bb -[UIApplication _loadMainNibFile] + 172
10 UIKit 0x0088b90d -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 198
11 UIKit 0x00895452 -[UIApplication handleEvent:withNewEvent:] + 1958
12 UIKit 0x0088e074 -[UIApplication sendEvent:] + 71
13 UIKit 0x00892ac4 _UIApplicationHandleEvent + 7495
14 GraphicsServices 0x0361fafa PurpleEventCallback + 1578
15 CoreFoundation 0x03103dc4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
16 CoreFoundation 0x03064737 __CFRunLoopDoSource1 + 215
17 CoreFoundation 0x030619c3 __CFRunLoopRun + 979
18 CoreFoundation 0x03061280 CFRunLoopRunSpecific + 208
19 CoreFoundation 0x030611a1 CFRunLoopRunInMode + 97
20 UIKit 0x0088b226 -[UIApplication _run] + 625
21 UIKit 0x00896b58 UIApplicationMain + 1160
22 iota 0x00006b3e main + 116
23 iota 0x00006ac1 start + 53
)
在抛出'NSException'实例后终止调用
terminate called after throwing an instance of 'NSException'
我无法突然理解我的应用程序发生了什么。这个错误一直在崩溃。我创建了一个名为Interface的更多试验项目并运行了几次,之后我回去运行我的原始项目。它一直在崩溃。任何人都可以帮助我吗?谢谢
I am not able to understand what happened to my application all of a sudden. It is crashing all the time with this error. I created on more trial project by the name Interface and ran that a couple of times and after it when I went back to run my original project. It is crashing consistently. Can anyone help me with it? Thanks
推荐答案
2011-01-24 12:49:59.519 iota[52046:207] Unknown class InterfaceAppDelegate in Interface Builder file.
2011-01-24 12:49:59.526 iota[52046:207] Unknown class InterfaceViewController in Interface Builder file
上面说的是你的XIB指向一个项目中不存在的类。
the above says that your XIB is pointing to a class that does not exist in your project.
在Interface Builder中检查类设置。应将所有视图和对象设置为标准类或属于项目一部分的自定义类。这可能是拼写错误......
In Interface Builder check the class settings. All views and objects should be set to either a standard class or to a custom class that is part of your project. It could be a spelling error...
这篇关于NSUnknownKeyException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!