ios - libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) -
ios - libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) -
i'm programming app in swift , when run test app on iphone simulator works, seek swipe right, gesture added go next page(view controller two) crashes , shows error study in console log.
2014-10-18 12:07:34.400 soundtest[17081:818922] *** terminating app due uncaught exception 'nsunknownkeyexception', reason: '[<soundtest.viewcontrollertwo 0x7f92f1f20090> setvalue:forundefinedkey:]: class not key value coding-compliant key sfdfa.' *** first throw phone call stack: ( 0 corefoundation 0x00000001067813f5 __exceptionpreprocess + 165 1 libobjc.a.dylib 0x00000001082afbb7 objc_exception_throw + 45 2 corefoundation 0x0000000106781039 -[nsexception raise] + 9 3 foundation 0x0000000106b984d3 -[nsobject(nskeyvaluecoding) setvalue:forkey:] + 259 4 corefoundation 0x00000001066cb400 -[nsarray makeobjectsperformselector:] + 224 5 uikit 0x00000001072ce97d -[uinib instantiatewithowner:options:] + 1506 6 uikit 0x000000010712f698 -[uiviewcontroller _loadviewfromnibnamed:bundle:] + 242 7 uikit 0x000000010712fc88 -[uiviewcontroller loadview] + 109 8 uikit 0x000000010712fef9 -[uiviewcontroller loadviewifrequired] + 75 9 uikit 0x000000010713038e -[uiviewcontroller view] + 27 10 uikit 0x00000001076cd83f -[_uifullscreenpresentationcontroller _setpresentedviewcontroller:] + 65 11 uikit 0x000000010710bc49 -[uipresentationcontroller initwithpresentedviewcontroller:presentingviewcontroller:] + 105 12 uikit 0x000000010713c121 -[uiviewcontroller _presentviewcontroller:withanimationcontroller:completion:] + 1746 13 uikit 0x000000010713e461 __62-[uiviewcontroller presentviewcontroller:animated:completion:]_block_invoke + 132 14 uikit 0x000000010713e385 -[uiviewcontroller presentviewcontroller:animated:completion:] + 229 15 uikit 0x00000001073bb9d6 _uigesturerecognizersendactions + 262 16 uikit 0x00000001073ba679 -[uigesturerecognizer _updategesturewithevent:buttonevent:] + 532 17 uikit 0x00000001073bf296 ___uigesturerecognizerupdate_block_invoke662 + 51 18 uikit 0x00000001073bf192 _uigesturerecognizerremoveobjectsfromarrayandapplyblocks + 254 19 uikit 0x00000001073b520d _uigesturerecognizerupdate + 2796 20 uikit 0x00000001070520a6 -[uiwindow _sendgesturesforevent:] + 1041 21 uikit 0x0000000107052cd3 -[uiwindow sendevent:] + 667 22 uikit 0x000000010701fae1 -[uiapplication sendevent:] + 246 23 uikit 0x000000010702cbad _uiapplicationhandleeventfromqueueevent + 17370 24 uikit 0x0000000107008233 _uiapplicationhandleeventqueue + 1961 25 corefoundation 0x00000001066b6ad1 __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 17 26 corefoundation 0x00000001066ac99d __cfrunloopdosources0 + 269 27 corefoundation 0x00000001066abfd4 __cfrunlooprun + 868 28 corefoundation 0x00000001066aba06 cfrunlooprunspecific + 470 29 graphicsservices 0x000000010a1699f0 gseventrunmodal + 161 30 uikit 0x000000010700b550 uiapplicationmain + 1282 31 soundtest 0x000000010624503e top_level_code + 78 32 soundtest 0x000000010624507a main + 42 33 libdyld.dylib 0x000000010ae4a145 start + 1 34 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating uncaught exception of type nsexception (lldb)
cmyr - "his happen if you've wired button ibaction doesn't exist anymore (or has been renamed)"
if you're running problem create sure go main.storyboard, right click on yellowish box icon (view controller) @ top of phone outline , delete outlet(s) yellowish flags.
what happens in instances named action, renamed it. need delete old name , if issue start right in sim!
ios swift
Comments
Post a Comment