IOS Exception2 this class is not key value coding-compliant for the key Click

时间:2023-03-10 02:35:25
IOS Exception2 this class is not key value coding-compliant for the key Click

2015-06-16 23:00:53.706 MyIOSPackage[823:280049] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<MyIOSPackage.ViewController 0x7fd760715ac0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key Click.'

*** First throw call stack:

(

0   CoreFoundation                      0x000000010087fb95 __exceptionPreprocess + 165

1   libobjc.A.dylib                     0x00000001023d4bb7 objc_exception_throw + 45

2   CoreFoundation                      0x000000010087f7d9 -[NSException raise] + 9

3   Foundation                          0x0000000100c9dde3 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259

4   CoreFoundation                      0x00000001007c7dd0 -[NSArray makeObjectsPerformSelector:] + 224

5   UIKit                               0x00000001013eea7d -[UINib instantiateWithOwner:options:] + 1506

6   UIKit                               0x000000010124a598 -[UIViewController _loadViewFromNibNamed:bundle:] + 242

7   UIKit                               0x000000010124ab88 -[UIViewController loadView] + 109

8   UIKit                               0x000000010124adf9 -[UIViewController loadViewIfRequired] + 75

9   UIKit                               0x000000010124b28e -[UIViewController view] + 27

10  UIKit                               0x00000001011675e9 -[UIWindow addRootViewControllerViewIfPossible] + 58

11  UIKit                               0x00000001011679af -[UIWindow _setHidden:forced:] + 247

12  UIKit                               0x0000000101174219 -[UIWindow makeKeyAndVisible] + 42

13  UIKit                               0x0000000101117727 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2732

14  UIKit                               0x000000010111a43e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349

15  UIKit                               0x000000010111933c -[UIApplication workspaceDidEndTransaction:] + 179

16  FrontBoardServices                  0x0000000103f27f85 __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 21

17  CoreFoundation                      0x00000001007b349c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12

18  CoreFoundation                      0x00000001007a91e5 __CFRunLoopDoBlocks + 341

19  CoreFoundation                      0x00000001007a8fa5 __CFRunLoopRun + 2389

20  CoreFoundation                      0x00000001007a83e6 CFRunLoopRunSpecific + 470

21  UIKit                               0x0000000101118da9 -[UIApplication _run] + 413

22  UIKit                               0x000000010111bb60 UIApplicationMain + 1282

23  MyIOSPackage                        0x00000001006a1837 main + 135

24  libdyld.dylib                       0x0000000102b78145 start + 1

25  ???                                 0x0000000000000001 0x0 + 1

)

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

(lldb)