I dont know how to get rid of error code SIGABRT

I am getting the error code SIGABRT and this log:



subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-10-27 18:27:30.129885 Block Tap[4285:315995] subsystem: com.apple.UIKit, category: HIDEventIncoming, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-10-27 18:27:30.143551 Block Tap[4285:315992] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: 1, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0, enable_private_data: 0

2016-10-27 18:27:30.160787 Block Tap[4285:315957] subsystem: com.apple.UIKit, category: StatusBar, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-10-27 18:27:30.279357 Block Tap[4285:315957] subsystem: com.apple.BackBoardServices.fence, category: App, enable_level: 1, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0, enable_private_data: 0

2016-10-27 18:27:32.025420 Block Tap[4285:315957] subsystem: com.apple.UIKit, category: Touch, enable_level: 0, persist_level: 0, default_ttl: 1, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-10-27 18:27:32.027283 Block Tap[4285:315957] subsystem: com.apple.UIKit, category: Gesture, enable_level: 0, persist_level: 0, default_ttl: 1, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-10-27 18:27:32.029200 Block Tap[4285:315957] subsystem: com.apple.UIKit, category: GestureEnvironment, enable_level: 0, persist_level: 0, default_ttl: 1, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-10-27 18:27:32.031219 Block Tap[4285:315957] subsystem: com.apple.UIKit, category: GestureExclusion, enable_level: 0, persist_level: 0, default_ttl: 1, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0

2016-10-27 18:27:32.250 Block Tap[4285:315957] -[Block_Tap.ViewController Button:]: unrecognized selector sent to instance 0x7ffdebd09480

2016-10-27 18:27:32.273 Block Tap[4285:315957] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Block_Tap.ViewController Button:]: unrecognized selector sent to instance 0x7ffdebd09480'

*** First throw call stack:

(

0 CoreFoundation 0x0000000112df234b __exceptionPreprocess + 171

1 libobjc.A.dylib 0x000000011019b21e objc_exception_throw + 48

2 CoreFoundation 0x0000000112e61f34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132

3 CoreFoundation 0x0000000112d77c15 ___forwarding___ + 1013

4 CoreFoundation 0x0000000112d77798 _CF_forwarding_prep_0 + 120

5 UIKit 0x000000011066cb88 -[UIApplication sendAction:to:from:forEvent:] + 83

6 UIKit 0x00000001107f22b2 -[UIControl sendAction:to:forEvent:] + 67

7 UIKit 0x00000001107f25cb -[UIControl _sendActionsForEvents:withEvent:] + 444

8 UIKit 0x00000001107f14c7 -[UIControl touchesEnded:withEvent:] + 668

9 UIKit 0x00000001106da0d5 -[UIWindow _sendTouchesForEvent:] + 2747

10 UIKit 0x00000001106db7c3 -[UIWindow sendEvent:] + 4011

11 UIKit 0x0000000110688a33 -[UIApplication sendEvent:] + 371

12 UIKit 0x0000000110e7ab6d __dispatchPreprocessedEventFromEventQueue + 3248

13 UIKit 0x0000000110e73817 __handleEventQueue + 4879

14 CoreFoundation 0x0000000112d97311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17

15 CoreFoundation 0x0000000112d7c59c __CFRunLoopDoSources0 + 556

16 CoreFoundation 0x0000000112d7ba86 __CFRunLoopRun + 918

17 CoreFoundation 0x0000000112d7b494 CFRunLoopRunSpecific + 420

18 GraphicsServices 0x0000000114c89a6f GSEventRunModal + 161

19 UIKit 0x000000011066af34 UIApplicationMain + 159

20 Block Tap 0x000000010fbbfe2f main + 111

21 libdyld.dylib 0x0000000113d0c68d start + 1

)

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

(lldb)

Replies

Focus on this:

'-[Block_Tap.ViewController Button:]: unrecognized selector sent to
instance 0x7ffdebd09480'

Someone has called the

-Button:
method on an instance of
Block_Tap.ViewController
, but that class does not implement that method. The most common reason for this sort of crash is that you have a target-action wired up incorrectly.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"