Answer the question
In order to leave comments, you need to log in
After uninstalling cocoapods, the project won't start. What could be the problem?
I'm new and just learning how to write code.
After uninstalling cocoapods, the project won't start. What could be the problem?
this is what it says:
2017-10-14 14:20:15.358271+0300 Fisherman Jan Grunt[7364:363517] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<–†—ã–±–æ –ª–æ–≤_–Ø–Ω–∞_–ì–Ä–É–Ω–Ç–∞.ViewController 0x7fd34c408af0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key karta. '
*** First throw call stack:
(
0 CoreFoundation 0x00000001021831cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000101ae5f41 objc_exception_throw + 48
2 CoreFoundation 0x0000000102183119 -[NSException raise] + 9
3 Foundation 0x00000001015081e3 - [NSObject (NSKeyValueCoding) setValue: forKey:]
+292 4 UIKit 0x0000000103424c82 - [UIViewController setValue: forKey :] + 87
5 UIKit 0x0000000103710c40 - [UIRuntimeOutletConnection connect] + 109
6 CoreFoundation 0x000000010212657d - [NSArray makeObjectsPerformSelector:] + 317
7 UIKit 0x000000010370f5f6 -[UINib instantiateWithOwner:options:] + 1856 8 UIKit 0x000000010342bd07 -[
UIViewController
_loadViewFromNibNamed:bundle:] + 383
10 UIKit 0x000000010342c941 - [UIViewController loadViewIfRequired] + 195
11 UIKit 0x00000001034744dc - [UINavigationController _updateScrollViewFromViewController: toViewController :]
+68 12 UIKit 0x0000000103474818 - [UINavigationController _startTransition: fromViewController : toViewController:] + 153
13 UIKit 0x000000010347592f - [UINavigationController _startDeferredTransitionIfNeeded:] + 841
14 UIKit 0x0000000103476b90 -[UINavigationController __viewWillLayoutSubviews] + 115
15 UIKit 0x00000001036cd2ae -[UILayoutContainerView layoutSubviews] + 231
16 UIKit 0x000000010335d551 - [UIView (CALayerDelegate) layoutSublayersOfLayer:]
+1331 17 QuartzCore 0x000000010c6804ba - [CALayer layoutSublayers] + 153
18 QuartzCore 0x000000010c6845a9 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 401
19 QuartzCore 0x000000010c60d1cd _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 365
20 QuartzCore 0x000000010c638ae4 _ZN2CA11Transaction6commitEv + 500
21 UIKit 0x00000001032aa706 __34- [UIApplication _firstCommitBlock ]_block_invoke_2 + 141
22 CoreFoundation 0x000000010212620c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
23 CoreFoundation 0x000000010210aa3b __CFRunLoopDoBlocks + 203
24 CoreFoundation 0x000000010210a214 __CFRunLoopRun + 1300
25 CoreFoundation 0x0000000102109a89 CFRunLoopRunSpecific + 409
26 GraphicsServices 0x00000001084f39c6 GSEventRunModal + 62
27 UIKit 0x000000010328ed30 UIApplicationMain + 159
28 - † -ã- ± -æ-ª- æ-≤ -Ø-Ω- ∞ –ì—Ä—É–Ω—Ç–∞ 0x00000001011c5d57 main + 55
29 libdyld.dylib 0x0000000106b45d81 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Answer the question
In order to leave comments, you need to log in
It looks like you removed the image view but didn't remove the reference to it. This is one of the most common beginner mistakes. On the stage in the storyboard, go to the last tab and check where the karta outlet hangs. Remove it and everything should be ok.
this class is not key value coding-compliant for the key card.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question