ios - Thread 1: Signal SIGABRT - AppDelegate.swift -
facing issue in appdelegate file , below error message in console: please resolve.
the error message on top : erminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[uiviewcontroller tableview:numberofrowsinsection:]: unrecognized selector sent instance
2017-09-10 11:53:40.877 shop[5095:938768] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[uiviewcontroller tableview:numberofrowsinsection:]: unrecognized selector sent 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 uncaught exception of type nsexception
Comments
Post a Comment