xcode main函数出现signal sigabrt

wn526880360 发布于 2016/05/04 19:58
阅读 332
收藏 0

 2016-05-04 19:51:21.322 demo5[7334:239042] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<ViewController 0x7fbd49c54140> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key the.'
*** First throw call stack:
(
0   CoreFoundation                      0x0000000105e6fe65 __exceptionPreprocess + 165
1   libobjc.A.dylib                     0x00000001058e8deb objc_exception_throw + 48
2   CoreFoundation                      0x0000000105e6faa9 -[NSException raise] + 9
3   Foundation                          0x00000001054b59bb -[NSObject(NSKeyValueCoding) setValue:forKey:] + 288
4   UIKit                               0x00000001063ab320 -[UIViewController setValue:forKey:] + 88
5   UIKit                               0x00000001065d9f41 -[UIRuntimeOutletConnection connect] + 109
6   CoreFoundation                      0x0000000105db04a0 -[NSArray makeObjectsPerformSelector:] + 224
7   UIKit                               0x00000001065d8924 -[UINib instantiateWithOwner:options:] + 1864
8   UIKit                               0x00000001063b1eea -[UIViewController _loadViewFromNibNamed:bundle:] + 381
9   UIKit                               0x00000001063b2816 -[UIViewController loadView] + 178
10  UIKit                               0x00000001063b2b74 -[UIViewController loadViewIfRequired] + 138
11  UIKit                               0x00000001063b32e7 -[UIViewController view] + 27
12  UIKit                               0x0000000106289ab0 -[UIWindow addRootViewControllerViewIfPossible] + 61
13  UIKit                               0x000000010628a199 -[UIWindow _setHidden:forced:] + 282
14  UIKit                               0x000000010629bc2e -[UIWindow makeKeyAndVisible] + 42
15  UIKit                               0x0000000106214663 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4131
16  UIKit                               0x000000010621acc6 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1760
17  UIKit                               0x0000000106217e7b -[UIApplication workspaceDidEndTransaction:] + 188
18  FrontBoardServices                  0x0000000108beb754 -[FBSSerialQueue _performNext] + 192
19  FrontBoardServices                  0x0000000108bebac2 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
20  CoreFoundation                      0x0000000105d9ba31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21  CoreFoundation                      0x0000000105d9195c __CFRunLoopDoSources0 + 556
22  CoreFoundation                      0x0000000105d90e13 __CFRunLoopRun + 867
23  CoreFoundation                      0x0000000105d90828 CFRunLoopRunSpecific + 488
24  UIKit                               0x00000001062177cd -[UIApplication _run] + 402
25  UIKit                               0x000000010621c610 UIApplicationMain + 171
26  demo5                               0x00000001053e9953 main + 99
27  libdyld.dylib                       0x00000001085ab92d start + 1
)

libc++abi.dylib: terminating with uncaught exception of type NSException



 argc int 1 1
argv char ** 0x7fff5a816658 0x00007fff5a816658


链接:http://pan.baidu.com/s/1bpK8m5p 密码:pn21

遇到好多次了也没百度到答案

加载中
0
CEOIOS
CEOIOS

小伙解决了没???

返回顶部
顶部