2018-02-06 15:34:19.101040+0330 Login[1962:83562] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Login.ViewController 0x7fa6ecd08bc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key loginButtonTapped.'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b04712b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001072a5f41 objc_exception_throw + 48
2 CoreFoundation 0x000000010b047079 -[NSException raise] + 9
3 Foundation 0x0000000106cc4a63 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 292
4 UIKit 0x00000001081e6117 -[UIViewController setValue:forKey:] + 87
5 UIKit 0x00000001084d7c2d -[UIRuntimeOutletConnection connect] + 109
6 CoreFoundation 0x000000010afea3cd -[NSArray makeObjectsPerformSelector:] + 317
7 UIKit 0x00000001084d65e3 -[UINib instantiateWithOwner:options:] + 1856
8 UIKit 0x00000001081ed3ff -[UIViewController _loadViewFromNibNamed:bundle:] + 383
9 UIKit 0x00000001081edd2b -[UIViewController loadView] + 177
10 UIKit 0x00000001081ee05c -[UIViewController loadViewIfRequired] + 195
11 UIKit 0x0000000108235ffc -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 68
12 UIKit 0x0000000108236338 -[UINavigationController _startTransition:fromViewController:toViewController:] + 153
13 UIKit 0x000000010823744f -[UINavigationController _startDeferredTransitionIfNeeded:] + 841
14 UIKit 0x00000001082386d3 -[UINavigationController __viewWillLayoutSubviews] + 150
15 UIKit 0x00000001084934e2 -[UILayoutContainerView layoutSubviews] + 231
16 UIKit 0x0000000108117a6d -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1439
17 QuartzCore 0x000000010e5a061c -[CALayer layoutSublayers] + 159
18 QuartzCore 0x000000010e5a47ad _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 401
19 QuartzCore 0x000000010e52b86c _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 364
20 QuartzCore 0x000000010e558946 _ZN2CA11Transaction6commitEv + 500
21 UIKit 0x000000010806126a __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 141
22 CoreFoundation 0x000000010afea05c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
23 CoreFoundation 0x000000010afce83b __CFRunLoopDoBlocks + 203
24 CoreFoundation 0x000000010afce014 __CFRunLoopRun + 1300
25 CoreFoundation 0x000000010afcd889 CFRunLoopRunSpecific + 409
26 GraphicsServices 0x000000010d7489c6 GSEventRunModal + 62
27 UIKit 0x00000001080465d6 UIApplicationMain + 159
28 Login 0x0000000106990c57 main + 55
29 libdyld.dylib 0x000000010c15fd81 start + 1
30 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
----------------------------------------------------------------------------------------
I have such these problems a lot... I have no idea how to fix them. I delete the project and recreat a new one! I do everything that I did again and again....