程序无法运行。。见图:class AppDelegate ...thread 1 signal sigabrt,求解决
6 回答
截图中的excetpion:
2014-10-04 22:30:13.813 生肖查询[2470:113035] Unknown class _TtC12生肖查询13ViewControlle in Interface Builder file.
2014-10-04 22:30:13.833 生肖查询[2470:113035] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7f9ab1d21bc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key image.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000109b953e5 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010b6ab967 objc_exception_throw + 45
2 CoreFoundation 0x0000000109b95029 -[NSException raise] + 9
3 Foundation 0x0000000109fad383 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259
4 CoreFoundation 0x0000000109adf3f0 -[NSArray makeObjectsPerformSelector:] + 224
5 UIKit 0x000000010a6e116d -[UINib instantiateWithOwner:options:] + 1506
6 UIKit 0x000000010a543d78 -[UIViewController _loadViewFromNibNamed:bundle:] + 242
7 UIKit 0x000000010a544368 -[UIViewController loadView] + 109
8 UIKit 0x000000010a5445d9 -[UIViewController loadViewIfRequired] + 75
9 UIKit 0x000000010a544a6e -[UIViewController view] + 27
10 UIKit 0x000000010a4652b1 -[UIWindow addRootViewControllerViewIfPossible] + 58
11 UIKit 0x000000010a46564a -[UIWindow _setHidden:forced:] + 276
12 UIKit 0x000000010a471a81 -[UIWindow makeKeyAndVisible] + 42
13 UIKit 0x000000010a41c5cd -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2628
14 UIKit 0x000000010a41f29c -[UIApplication _runWithMainScene:transitionContext:completion:] + 1350
15 UIKit 0x000000010a41e168 -[UIApplication workspaceDidEndTransaction:] + 179
16 FrontBoardServices 0x000000010cf12513 __31-[FBSSerialQueue performAsync:]_block_invoke + 16
17 CoreFoundation 0x0000000109acaaac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
18 CoreFoundation 0x0000000109ac07f5 __CFRunLoopDoBlocks + 341
19 CoreFoundation 0x0000000109ac05b5 __CFRunLoopRun + 2389
20 CoreFoundation 0x0000000109abf9f6 CFRunLoopRunSpecific + 470
21 UIKit 0x000000010a41dbdf -[UIApplication _run] + 413
22 UIKit 0x000000010a420990 UIApplicationMain + 1282
23 生肖查询 0x000000010964912e top_level_code + 78
24 生肖查询 0x000000010964916a main + 42
25 libdyld.dylib 0x000000010bc4d145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
举报