ios - Xcode error - Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: -
this question has answer here:
i dont know can problem:/
2014-04-11 22:36:33.815 bus[1432:60b] *** terminating app due uncaught exception 'nsunknownkeyexception', reason: '[<tableviewcell 0x8e63160> setvalue:forundefinedkey:]: class not key value coding-compliant 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 uncaught exception of type nsexception (lldb)
it means in nib file have outlet called descriptionlablel
, don't have property in code. "label" misspelled, problem.
Comments
Post a Comment