Thread 1: Signal SIGABRT - AppDelegate.swift - ios

Facing issue in the AppDelegate file and below is error message in the console: Please help resolve.
The error message on the top is : erminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance
2017-09-10 11:53:40.877 Shop[5095:938768] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x7fde84c1d070'
*** First throw call stack:
(
0 CoreFoundation 0x000000010a546b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000109fab141 objc_exception_throw + 48
2 CoreFoundation 0x000000010a5b6134 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000010a4cd840 ___forwarding___ + 1024
4 CoreFoundation 0x000000010a4cd3b8 _CF_forwarding_prep_0 + 120
5 UIKit 0x0000000106c49dbb -[UITableView _numberOfRowsInSection:] + 57
6 UIKit 0x0000000106e80176 -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 2344
7 UIKit 0x0000000106e86069 -[UITableViewRowData rectForFooterInSection:heightCanBeGuessed:] + 508
8 UIKit 0x0000000106e861d1 -[UITableViewRowData heightForTable] + 61
9 UIKit 0x0000000106c0cdb7 -[UITableView _updateContentSize] + 372
10 UIKit 0x0000000106c34baf -[UITableView _rebuildGeometry] + 40
11 UIKit 0x0000000106c32bf4 -[UITableView didMoveToWindow] + 145
12 UIKit 0x0000000106b90f01 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1737
13 UIKit 0x0000000106ba7fc1 -[UIScrollView _didMoveFromWindow:toWindow:] + 84
14 UIKit 0x0000000106b90b43 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 779
15 UIKit 0x0000000106b90b43 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 779
16 UIKit 0x0000000106b83b96 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 151
17 UIKit 0x0000000106b83a7d -[UIView(Hierarchy) _postMovedFromSuperview:] + 828
18 UIKit 0x0000000106b93a0a -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1927
19 UIKit 0x0000000106b81cf8 -[UIView(Hierarchy) addSubview:] + 838
20 UIKit 0x0000000106f8ecad -[UINavigationTransitionView transition:fromView:toView:] + 616
21 UIKit 0x0000000106cb7521 -[UINavigationController _startTransition:fromViewController:toViewController:] + 3301
22 UIKit 0x0000000106cb7a03 -[UINavigationController _startDeferredTransitionIfNeeded:] + 843
23 UIKit 0x0000000106cb8b41 -[UINavigationController __viewWillLayoutSubviews] + 58
24 UIKit 0x0000000106eaa60c -[UILayoutContainerView layoutSubviews] + 231
25 UIKit 0x0000000106b9755b -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1268
26 QuartzCore 0x000000010e8b1904 -[CALayer layoutSublayers] + 146
27 QuartzCore 0x000000010e8a5526 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 370
28 QuartzCore 0x000000010e8a53a0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
29 QuartzCore 0x000000010e834e92 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294
30 QuartzCore 0x000000010e861130 _ZN2CA11Transaction6commitEv + 468
31 QuartzCore 0x000000010e861b37 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 115
32 CoreFoundation 0x000000010a4ec717 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
33 CoreFoundation 0x000000010a4ec687 __CFRunLoopDoObservers + 391
34 CoreFoundation 0x000000010a4d1038 CFRunLoopRunSpecific + 440
35 UIKit 0x0000000106ace08f -[UIApplication _run] + 468
36 UIKit 0x0000000106ad4134 UIApplicationMain + 159
37 Shop 0x00000001058c7d07 main + 55
38 libdyld.dylib 0x000000010cb0565d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Related

IQDropDownTextField inside UITableView CALayer invalid geometry error

I have a UITableView with multiple cell containing IQDropDownTextField. When I reload the tableview, it crashes occasionally 1 out of 10. Here are my stack traces:
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer bounds contains NaN: [0 nan; 320 291]'
*** First throw call stack:
(
0 CoreFoundation 0x0000000107c3cd4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010718321e objc_exception_throw + 48
2 CoreFoundation 0x0000000107ca62b5 +[NSException raise:format:] + 197
3 QuartzCore 0x000000010561fc20 _ZN2CA5Layer10set_boundsERKNS_4RectEb + 230
4 QuartzCore 0x000000010561feb5 -[CALayer setBounds:] + 154
5 UIKit 0x00000001059e06c3 -[UIView(Geometry) setBounds:] + 483
6 UIKit 0x0000000105a0caf3 -[UIScrollView setBounds:] + 1255
7 UIKit 0x0000000105a9702b -[UITableView setBounds:] + 282
8 UIKit 0x00000001060e7eb1 -[UIPickerTableView setBounds:] + 120
9 UIKit 0x0000000105a0d0d0 -[UIScrollView setContentOffset:] + 445
10 UIKit 0x0000000105a98092 -[UITableView setContentOffset:] + 316
11 UIKit 0x00000001060e722b -[UIPickerTableView _setContentOffset:notify:] + 93
12 UIKit 0x0000000105a26a7b -[UIScrollView(UIScrollViewInternal) _setContentOffset:animated:animationCurve:animationAdjustsForContentOffsetDelta:] + 957
13 UIKit 0x00000001060e63db -[UIPickerTableView _scrollRowAtIndexPathToSelectionBar:animated:] + 248
14 UIKit 0x00000001060e6764 -[UIPickerTableView selectRow:animated:notify:] + 755
15 UIKit 0x000000010591bb01 -[UIPickerView _selectRow:inComponent:animated:notify:] + 159
16 FindAroundYou 0x0000000102e08d46 -[IQDropDownTextField setSelectedRow:animated:] + 406
17 FindAroundYou 0x0000000102e08ba0 -[IQDropDownTextField setSelectedRow:] + 64
18 FindAroundYou 0x0000000102e09301 -[IQDropDownTextField setItemList:] + 161
19 FindAroundYou 0x0000000102e14a51 -[FAYHomeVC tableView:cellForRowAtIndexPath:] + 2097
20 UIKit 0x0000000105aa5584 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 757
21 UIKit 0x0000000105aa57e2 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 74
22 UIKit 0x0000000105a792b0 -[UITableView _updateVisibleCellsNow:isRecursive:] + 3295
23 UIKit 0x0000000105aaeb64 -[UITableView _performWithCachedTraitCollection:] + 110
24 UIKit 0x0000000105a953be -[UITableView layoutSubviews] + 222
25 UIKit 0x00000001059fcab8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1237
26 QuartzCore 0x0000000105629bf8 -[CALayer layoutSublayers] + 146
27 QuartzCore 0x000000010561d440 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
28 QuartzCore 0x000000010561d2be _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
29 QuartzCore 0x00000001055ab318 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 280
30 QuartzCore 0x00000001055d83ff _ZN2CA11Transaction6commitEv + 475
31 QuartzCore 0x00000001055d8d6f _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 113
32 CoreFoundation 0x0000000107be1267 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
33 CoreFoundation 0x0000000107be11d7 __CFRunLoopDoObservers + 391
34 CoreFoundation 0x0000000107bc5f8e __CFRunLoopRun + 1198
35 CoreFoundation 0x0000000107bc5884 CFRunLoopRunSpecific + 420
36 GraphicsServices 0x000000010ae1da6f GSEventRunModal + 161
37 UIKit 0x0000000105937c68 UIApplicationMain + 159
38 FindAroundYou 0x0000000102e2fd3f main + 111
39 libdyld.dylib 0x00000001081c768d start + 1
40 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Can someone please help me to figure out why this crash happening? I am not putting code because I don't know which part is causing this issue.

Unable to understand the Crash Logs

I have a view,which consists a UIScrollView on which subviews would added in viewDidLoad after adding all subviews & after the execution of all custom methods it goes to viewWillappear,after that it crashes with the following traces:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString CIImage]: unrecognized selector sent to instance 0x7db5bb80'
*** First throw call stack:
(
0 CoreFoundation 0x04614946 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x0429da97 objc_exception_throw + 44
2 CoreFoundation 0x0461c5c5 -[NSObject(NSObject) doesNotRecognizeSelector:] + 277
3 CoreFoundation 0x045653e7 ___forwarding___ + 1047
4 CoreFoundation 0x04564fae _CF_forwarding_prep_0 + 14
5 UIKit 0x02b589f1 -[UIImageView _shouldDrawImage:] + 33
6 UIKit 0x02b58aa2 -[UIImageView _canDrawContent] + 164
7 UIKit 0x02a2f750 -[UIView(Internal) _shouldInheritScreenScaleAsContentScaleFactor] + 83
8 UIKit 0x02a2f7e9 -[UIView(Internal) _applyScreenScaleToContentScaleFactorIfNotSpecifiedByDeveloper] + 35
9 UIKit 0x02a2f56e -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1628
10 UIKit 0x02b5d762 -[UIImageView _didMoveFromWindow:toWindow:] + 65
11 UIKit 0x02a2f23f -[UIView(Internal) _didMoveFromWindow:toWindow:] + 813
12 UIKit 0x02a423e1 -[UIScrollView _didMoveFromWindow:toWindow:] + 65
13 UIKit 0x02a2f23f -[UIView(Internal) _didMoveFromWindow:toWindow:] + 813
14 UIKit 0x02a2f23f -[UIView(Internal) _didMoveFromWindow:toWindow:] + 813
15 UIKit 0x02a26517 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 154
16 UIKit 0x02a26475 -[UIView(Hierarchy) _postMovedFromSuperview:] + 458
17 UIKit 0x02a31f0d -[UIView(Internal) _addSubview:positioned:relativeTo:] + 2018
18 UIKit 0x02a2486e -[UIView(Hierarchy) addSubview:] + 56
19 UIKit 0x0299d0fa __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 1849
20 UIKit 0x02a2b7af +[UIView(Animation) performWithoutAnimation:] + 82
21 UIKit 0x0299c5a6 -[_UINavigationParallaxTransition animateTransition:] + 1204
22 UIKit 0x02b2b64d -[UINavigationController _startCustomTransition:] + 3765
23 UIKit 0x02b38726 -[UINavigationController _startDeferredTransitionIfNeeded:] + 712
24 UIKit 0x02b39372 -[UINavigationController __viewWillLayoutSubviews] + 57
25 UIKit 0x02cad04c -[UILayoutContainerView layoutSubviews] + 213
26 UIKit 0x02a34dd1 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 608
27 libobjc.A.dylib 0x042b3771 -[NSObject performSelector:withObject:] + 70
28 QuartzCore 0x0215928f -[CALayer layoutSublayers] + 152
29 QuartzCore 0x0214d115 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 397
30 QuartzCore 0x0214cf70 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
31 QuartzCore 0x020ab3c6 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 284
32 QuartzCore 0x020ac78c _ZN2CA11Transaction6commitEv + 392
33 QuartzCore 0x020ace58 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92
34 CoreFoundation 0x045379de __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
35 CoreFoundation 0x04537920 __CFRunLoopDoObservers + 400
36 CoreFoundation 0x0452d35a __CFRunLoopRun + 1226
37 CoreFoundation 0x0452cbcb CFRunLoopRunSpecific + 443
38 CoreFoundation 0x0452c9fb CFRunLoopRunInMode + 123
39 GraphicsServices 0x05e6b24f GSEventRunModal + 192
40 GraphicsServices 0x05e6b08c GSEventRun + 104
41 UIKit 0x029a98b6 UIApplicationMain + 1526
42 POPCorn 0x000e9472 main + 130
43 libdyld.dylib 0x06193ac9 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString CIImage]: unrecognized selector sent to instance 0x7db5bb80'
You're accessing the CIImage property of an NSString (perhaps its id and you just accessed this property thinking that the id object was a UIImage). Search for CIImage in your class and make sure the object you're getting the property from is an actual UIImage.
If you want to find out where the actual line of code that is causing i suggest creating an exception breakpoint. You can do this by going to the breakpoints tab and adding one for all exceptions. This along with the log you should see what you are passing an invalid argument to.

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

when i run my app, i received this error :
2014-08-11 10:52:10.546 ControlViewTest[918:60b] -[UIViewController collectionView:numberOfItemsInSection:]: unrecognized selector sent to instance 0x8c862f0
2014-08-11 10:52:10.605 ControlViewTest[918:60b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController collectionView:numberOfItemsInSection:]: unrecognized selector sent to instance 0x8c862f0'
* First throw call stack:
(
0 CoreFoundation 0x017ec1e4 exceptionPreprocess + 180
1 libobjc.A.dylib 0x0156b8e5 objc_exception_throw + 44
2 CoreFoundation 0x01889243 -[NSObject(NSObject) doesNotRecognizeSelector:] + 275
3 CoreFoundation 0x017dc50b ___forwarding_ + 1019
4 CoreFoundation 0x017dc0ee _CF_forwarding_prep_0 + 14
5 UIKit 0x008b0c34 -[UICollectionViewData _updateItemCounts] + 331
6 UIKit 0x008b0ce1 -[UICollectionViewData _validateItemCounts] + 45
7 UIKit 0x008b2c64 -[UICollectionViewData numberOfSections] + 35
8 UIKit 0x0087d6ed -[UICollectionView numberOfSections] + 62
9 UIKit 0x0089d614 -[UICollectionViewFlowLayout(Internal) _getSizingInfos] + 205
10 UIKit 0x0089e48f -[UICollectionViewFlowLayout(Internal) _fetchItemsInfo] + 521
11 UIKit 0x00899fe2 -[UICollectionViewFlowLayout prepareLayout] + 157
12 UIKit 0x008b0d9d -[UICollectionViewData _prepareToLoadData] + 76
13 UIKit 0x008b15c5 -[UICollectionViewData validateLayoutInRect:] + 56
14 UIKit 0x00877603 -[UICollectionView layoutSubviews] + 173
15 UIKit 0x0029a964 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355
16 libobjc.A.dylib 0x0157d82b -[NSObject performSelector:withObject:] + 70
17 QuartzCore 0x03c5745a -[CALayer layoutSublayers] + 148
18 QuartzCore 0x03c4b244 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380
19 QuartzCore 0x03c573a5 -[CALayer layoutIfNeeded] + 160
20 UIKit 0x0035cae3 -[UIViewController window:setupWithInterfaceOrientation:] + 304
21 UIKit 0x00272aa7 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 5212
22 UIKit 0x00271646 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 82
23 UIKit 0x00271518 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 117
24 UIKit 0x002715a0 -[UIWindow _setRotatableViewOrientation:duration:force:] + 67
25 UIKit 0x0027063a 57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke + 120
26 UIKit 0x0027059c -[UIWindow _updateToInterfaceOrientation:duration:force:] + 400
27 UIKit 0x002712f3 -[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 870
28 UIKit 0x002748e6 -[UIWindow setDelegate:] + 449
29 UIKit 0x0034eb77 -[UIViewController _tryBecomeRootViewControllerInWindow:] + 180
30 UIKit 0x0026a474 -[UIWindow addRootViewControllerViewIfPossible] + 591
31 UIKit 0x0026a5ef -[UIWindow _setHidden:forced:] + 312
32 UIKit 0x0026a86b -[UIWindow _orderFrontWithoutMakingKey] + 49
33 UIKit 0x002753c8 -[UIWindow makeKeyAndVisible] + 65
34 UIKit 0x00225bc0 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 2097
35 UIKit 0x0022a667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824
36 UIKit 0x0023ef92 -[UIApplication handleEvent:withNewEvent:] + 3517
37 UIKit 0x0023f555 -[UIApplication sendEvent:] + 85
38 UIKit 0x0022c250 _UIApplicationHandleEvent + 683
39 GraphicsServices 0x037e1f02 _PurpleEventCallback + 776
40 GraphicsServices 0x037e1a0d PurpleEventCallback + 46
41 CoreFoundation 0x01767ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 53
42 CoreFoundation 0x017679db __CFRunLoopDoSource1 + 523
43 CoreFoundation 0x0179268c __CFRunLoopRun + 2156
44 CoreFoundation 0x017919d3 CFRunLoopRunSpecific + 467
45 CoreFoundation 0x017917eb CFRunLoopRunInMode + 123
46 UIKit 0x00229d9c -[UIApplication _run] + 840
47 UIKit 0x0022bf9b UIApplicationMain + 1225
48 ControlViewTest 0x0000264d main + 141
49 libdyld.dylib 0x01e33701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
somebody can help me pls
Your UICollectionView has a data source set which does not implement the required method collectionView:numberOfItemsInSection:. You need to assign your UICollectionView a valid data source: a class that you've written and that implements collectionView:numberOfItemsInSection:.

AdBannerView Causing NSInvalidArguementException

I'm creating an Ad enabled application, and to the most part its been successful to how I wanted it, however recently my application started crashing with an NSInvalidArgumentException error whenever I start the application, after some serious debugging I've found that the cause of the error is when my ADBannerView delegate is linked to my UITableViewController class. I've implemented the ADBannerViewDelegate to my class so I can't understand what the issue with it is. I'm trying to keep my code as private as possible to avoid my idea to be recreated. So for now I'll be posting the crash log. If any other information is needed I'll post the bare minimum of what has been asked for
2014-07-09 16:48:32.268 <APPLICATION NAME>[3491:589625] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(
0 CoreFoundation 0x00ee5646 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x00b878e3 objc_exception_throw + 44
2 CoreFoundation 0x00ddc513 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 451
3 CoreFoundation 0x00df16bb +[NSDictionary dictionaryWithObjects:forKeys:count:] + 75
4 iAd 0x00688cf5 -[ADBannerView setDelegate:] + 161
5 Foundation 0x0077ace8 _NSSetUsingKeyValueSetter + 115
6 Foundation 0x0077ac6d -[NSObject(NSKeyValueCoding) setValue:forKey:] + 267
7 UIKit 0x0131b034 -[UIView(CALayerDelegate) setValue:forKey:] + 168
8 Foundation 0x007b0166 -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 386
9 UIKit 0x015b3589 -[UIRuntimeOutletConnection connect] + 106
10 libobjc.A.dylib 0x00b9a6f4 -[NSObject performSelector:] + 62
11 CoreFoundation 0x00e2041c -[NSArray makeObjectsPerformSelector:] + 316
12 UIKit 0x015b1b8a -[UINib instantiateWithOwner:options:] + 1775
13 UIKit 0x013e074d -[UIViewController _loadViewFromNibNamed:bundle:] + 270
14 UIKit 0x013e0ff4 -[UIViewController loadView] + 295
15 UIKit 0x015d2266 -[UITableViewController loadView] + 77
16 UIKit 0x013e1222 -[UIViewController loadViewIfRequired] + 72
17 UIKit 0x014142bd -[UINavigationController _layoutViewController:] + 42
18 UIKit 0x014147bf -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 235
19 UIKit 0x014148c3 -[UINavigationController _startTransition:fromViewController:toViewController:] + 90
20 UIKit 0x0141583a -[UINavigationController _startDeferredTransitionIfNeeded:] + 669
21 UIKit 0x0141645b -[UINavigationController __viewWillLayoutSubviews] + 57
22 UIKit 0x01580c40 -[UILayoutContainerView layoutSubviews] + 213
23 UIKit 0x0131b3dc -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 601
24 libobjc.A.dylib 0x00b9a741 -[NSObject performSelector:withObject:] + 70
25 QuartzCore 0x005703e9 -[CALayer layoutSublayers] + 152
26 QuartzCore 0x00564245 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 397
27 QuartzCore 0x005640a0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26
28 QuartzCore 0x004c3836 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 284
29 QuartzCore 0x004c4bfc _ZN2CA11Transaction6commitEv + 392
30 QuartzCore 0x00589689 +[CATransaction flush] + 52
31 UIKit 0x0129012e -[UIApplication _reportMainSceneUpdateFinished:] + 39
32 UIKit 0x01291023 -[UIApplication _runWithMainScene:transitionContext:completion:] + 3027
33 UIKit 0x012a8eb8 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 59
34 UIKit 0x0128f77e -[UIApplication workspaceDidEndTransaction:] + 29
35 FrontBoardServices 0x06e43f1f -[FBSWorkspace clientEndTransaction:] + 87
36 FrontBoardServices 0x06e4b4ed __53-[FBSWorkspaceClient _queue_handleTransactionBookEnd]_block_invoke + 49
37 CoreFoundation 0x00e09f90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 16
38 CoreFoundation 0x00dff133 __CFRunLoopDoBlocks + 195
39 CoreFoundation 0x00dfe898 __CFRunLoopRun + 936
40 CoreFoundation 0x00dfe22b CFRunLoopRunSpecific + 443
41 CoreFoundation 0x00dfe05b CFRunLoopRunInMode + 123
42 UIKit 0x0128f095 -[UIApplication _run] + 571
43 UIKit 0x012926e5 UIApplicationMain + 1526
44 AppIdeas 0x0001a4ed main + 141
45 libdyld.dylib 0x02ca1ac9 start + 1
46 ??? 0x00000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Also, I'd like to point out that I'm not using an NSPlaceholderDictionary at all in my program, nor am I using the method initWithObjects:forKeys:count:
Hopefully you guys should be able to help with this, thanks for you help
EDIT: I'd Also like to point out that All my other Pages (Part of a UITabBarController) load the ads fine, with the delegate added like the first page, it only happens on the application launch for the first view to come into focus... Is there something I'm missing?

Xcode error - Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: [duplicate]

This question already has answers here:
Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?
(79 answers)
Closed 7 years ago.
i dont know where can be problem:/
2014-04-11 22:36:33.815 bus[1432:60b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<TableViewCell 0x8e63160> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key DescriptionLablel.'
*** First throw call stack:
(
0 CoreFoundation 0x017ee1e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x0156d8e5 objc_exception_throw + 44
2 CoreFoundation 0x0187dfe1 -[NSException raise] + 17
3 Foundation 0x0122dd9e -[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:] + 282
4 Foundation 0x0119a1d7 _NSSetUsingKeyValueSetter + 88
5 Foundation 0x01199731 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 267
6 UIKit 0x0029c508 -[UIView(CALayerDelegate) setValue:forKey:] + 168
7 Foundation 0x011fbb0a -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 412
8 UIKit 0x004e41f4 -[UIRuntimeOutletConnection connect] + 106
9 libobjc.A.dylib 0x0157f7de -[NSObject performSelector:] + 62
10 CoreFoundation 0x017e976a -[NSArray makeObjectsPerformSelector:] + 314
11 UIKit 0x004e2d4d -[UINib instantiateWithOwner:options:] + 1417
12 UIKit 0x00319db0 -[UITableView _dequeueReusableViewOfType:withIdentifier:] + 370
13 UIKit 0x0031a089 -[UITableView dequeueReusableCellWithIdentifier:] + 48
14 UIKit 0x0031a0b9 -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:] + 43
15 bus 0x000034bf -[TableViewController tableView:cellForRowAtIndexPath:] + 127
16 UIKit 0x0032611f -[UITableView _createPreparedCellForGlobalRow:withIndexPath:] + 412
17 UIKit 0x003261f3 -[UITableView _createPreparedCellForGlobalRow:] + 69
18 UIKit 0x00307ece -[UITableView _updateVisibleCellsNow:] + 2428
19 UIKit 0x0031c6a5 -[UITableView layoutSubviews] + 213
20 UIKit 0x0029c964 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355
21 libobjc.A.dylib 0x0157f82b -[NSObject performSelector:withObject:] + 70
22 QuartzCore 0x03c5945a -[CALayer layoutSublayers] + 148
23 QuartzCore 0x03c4d244 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380
24 QuartzCore 0x03c593a5 -[CALayer layoutIfNeeded] + 160
25 UIKit 0x0035eae3 -[UIViewController window:setupWithInterfaceOrientation:] + 304
26 UIKit 0x00274aa7 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:isRotating:] + 5212
27 UIKit 0x00273646 -[UIWindow _setRotatableClient:toOrientation:updateStatusBar:duration:force:] + 82
28 UIKit 0x00273518 -[UIWindow _setRotatableViewOrientation:updateStatusBar:duration:force:] + 117
29 UIKit 0x002735a0 -[UIWindow _setRotatableViewOrientation:duration:force:] + 67
30 UIKit 0x0027263a __57-[UIWindow _updateToInterfaceOrientation:duration:force:]_block_invoke + 120
31 UIKit 0x0027259c -[UIWindow _updateToInterfaceOrientation:duration:force:] + 400
32 UIKit 0x002732f3 -[UIWindow setAutorotates:forceUpdateInterfaceOrientation:] + 870
33 UIKit 0x002768e6 -[UIWindow setDelegate:] + 449
34 UIKit 0x00350b77 -[UIViewController _tryBecomeRootViewControllerInWindow:] + 180
35 UIKit 0x0026c474 -[UIWindow addRootViewControllerViewIfPossible] + 591
36 UIKit 0x0026c5ef -[UIWindow _setHidden:forced:] + 312
37 UIKit 0x0026c86b -[UIWindow _orderFrontWithoutMakingKey] + 49
38 UIKit 0x002773c8 -[UIWindow makeKeyAndVisible] + 65
39 UIKit 0x00227bc0 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 2097
40 UIKit 0x0022c667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824
41 UIKit 0x00240f92 -[UIApplication handleEvent:withNewEvent:] + 3517
42 UIKit 0x00241555 -[UIApplication sendEvent:] + 85
43 UIKit 0x0022e250 _UIApplicationHandleEvent + 683
44 GraphicsServices 0x037e3f02 _PurpleEventCallback + 776
45 GraphicsServices 0x037e3a0d PurpleEventCallback + 46
46 CoreFoundation 0x01769ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
47 CoreFoundation 0x017699db __CFRunLoopDoSource1 + 523
48 CoreFoundation 0x0179468c __CFRunLoopRun + 2156
49 CoreFoundation 0x017939d3 CFRunLoopRunSpecific + 467
50 CoreFoundation 0x017937eb CFRunLoopRunInMode + 123
51 UIKit 0x0022bd9c -[UIApplication _run] + 840
52 UIKit 0x0022df9b UIApplicationMain + 1225
53 bus 0x00003a4d main + 141
54 libdyld.dylib 0x01e35701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
It means that in a nib file you have an outlet called DescriptionLablel, but you don't have a property for it in your code. "Label" is misspelled, so that could be your problem.

Resources