ios - Bug detection terminal in Swift cites variable as issue - variable doesn't exist -
the first view controller of project crashed when segue'd view controller - not when loads. error message:
2016-01-05 20:06:33.836 collaboration[48812:1788623] -[collaboration.createaccountviewcontroller loginexisting:]: unrecognized selector sent instance 0x796cc950 2016-01-05 20:06:33.849 collaboration[48812:1788623] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[collaboration.createaccountviewcontroller loginexisting:]: unrecognized selector sent instance 0x796cc950' *** first throw call stack: ( 0 corefoundation 0x00396a14 __exceptionpreprocess + 180 1 libobjc.a.dylib 0x022c5e02 objc_exception_throw + 50 2 corefoundation 0x0039fd63 -[nsobject(nsobject) doesnotrecognizeselector:] + 275 3 corefoundation 0x002dd6bd ___forwarding___ + 1037 4 corefoundation 0x002dd28e _cf_forwarding_prep_0 + 14 5 libobjc.a.dylib 0x022da0b5 -[nsobject performselector:withobject:withobject:] + 84 6 uikit 0x00df7b79 -[uiapplication sendaction:to:from:forevent:] + 118 7 uikit 0x00df7af8 -[uiapplication sendaction:totarget:fromsender:forevent:] + 64 8 uikit 0x00f978f8 -[uicontrol sendaction:to:forevent:] + 79 9 uikit 0x00f97c78 -[uicontrol _sendactionsforevents:withevent:] + 408 10 uikit 0x00f96c7e -[uicontrol touchesended:withevent:] + 714 11 uikit 0x00e74182 -[uiwindow _sendtouchesforevent:] + 1095 12 uikit 0x00e75220 -[uiwindow sendevent:] + 1159 13 uikit 0x00e19f93 -[uiapplication sendevent:] + 266 14 uikit 0x00def668 _uiapplicationhandleeventqueue + 7802 15 corefoundation 0x002b06ff __cfrunloop_is_calling_out_to_a_source0_perform_function__ + 15 16 corefoundation 0x002a638b __cfrunloopdosources0 + 523 17 corefoundation 0x002a57a8 __cfrunlooprun + 1032 18 corefoundation 0x002a50e6 cfrunlooprunspecific + 470 19 corefoundation 0x002a4efb cfrunloopruninmode + 123 20 graphicsservices 0x07075664 gseventrunmodal + 192 21 graphicsservices 0x070754a1 gseventrun + 104 22 uikit 0x00df5bfa uiapplicationmain + 160 23 collaboration 0x00085a3c main + 140 24 libdyld.dylib 0x039bca21 start + 1 25 ??? 0x00000001 0x0 + 1 ) libc++abi.dylib: terminating uncaught exception of type nsexception (lldb) as can see, cites variable 'loginexisting' issue, loginexisting not variable on in of scripts (it before has since been removes). how can 'refresh' xcode forgets absent variable? have tried restarting machine , cleaning xcode have had not success.
thank help.
go storyboard that's crashing , right click yellow icon @ top of viewcontroller.
after right clicking, towards bottom says "received actions" , delete of actions pertaining loginexisting method.
this 1 of many possible culprits, tends common.
edit: it's possible have property (iboutlet) connected storyboard no longer exists throw error.

Comments
Post a Comment