Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Thread 1 Signal Sigabrt

My program works until I click my buttons, I have deleted them and redone them... I have also checked them and they have no yellow warning triangle. Could you suggest what is wrong from this error message in Xcode please

''' 2017-11-25 20:34:42.808209 Pong2[14078:266759] 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 2017-11-25 20:34:42.812480 Pong2[14078:266759] 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 2017-11-25 20:34:42.870758 Pong2[14078:266753] 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 2017-11-25 20:34:42.896354 Pong2[14078:266608] 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 2017-11-25 20:34:42.899867 Pong2[14078:266608] 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 2017-11-25 20:34:43.052047 Pong2[14078:266608] subsystem: com.apple.BackBoardServices.fence, category: Workspace, 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 2017-11-25 20:34:44.766594 Pong2[14078:266608] 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 2017-11-25 20:34:44.767866 Pong2[14078:266608] 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 2017-11-25 20:34:44.769051 Pong2[14078:266608] 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 2017-11-25 20:34:44.769822 Pong2[14078:266608] 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 2017-11-25 20:34:44.839 Pong2[14078:266608] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Pong2.GameScene 0x7fba0bd08e30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key storyboard.' *** First throw call stack: ( 0 CoreFoundation 0x000000010d7f234b exceptionPreprocess + 171 1 libobjc.A.dylib 0x000000010a1a721e objc_exception_throw + 48 2 CoreFoundation 0x000000010d7f2299 -[NSException raise] + 9 3 Foundation 0x0000000109cb72ff -[NSObject(NSKeyValueCoding) setValue:forKey:] + 291 4 UIKit 0x000000010b3bfbe6 -[UIRuntimeOutletConnection connect] + 109 5 CoreFoundation 0x000000010d797590 -[NSArray makeObjectsPerformSelector:] + 256 6 UIKit 0x000000010b3be56a -[UINib instantiateWithOwner:options:] + 1867 7 UIKit 0x000000010b7841ab -[UIStoryboard instantiateViewControllerWithIdentifier:] + 181 8 Pong2 0x0000000109bbde52 TFC5Pong26MenuVC10moveToGamefT4gameOS_8gameType_T + 178 9 Pong2 0x0000000109bbdc1b TFC5Pong26MenuVC6MediumfPs9AnyObject_T + 43 10 Pong2 0x0000000109bbdc66 TToFC5Pong26MenuVC6MediumfPs9AnyObject_T + 54 11 UIKit 0x000000010afb3b88 -[UIApplication sendAction:to:from:forEvent:] + 83 12 UIKit 0x000000010b1392b2 -[UIControl sendAction:to:forEvent:] + 67 13 UIKit 0x000000010b1395cb -[UIControl _sendActionsForEvents:withEvent:] + 444 14 UIKit 0x000000010b1384c7 -[UIControl touchesEnded:withEvent:] + 668 15 UIKit 0x000000010b0210d5 -[UIWindow _sendTouchesForEvent:] + 2747 16 UIKit 0x000000010b0227c3 -[UIWindow sendEvent:] + 4011 17 UIKit 0x000000010afcfa33 -[UIApplication sendEvent:] + 371 18 UIKit 0x000000010b7c1b6d __dispatchPreprocessedEventFromEventQueue + 3248 19 UIKit 0x000000010b7ba817 __handleEventQueue + 4879 20 CoreFoundation 0x000000010d797311 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 21 CoreFoundation 0x000000010d77c59c __CFRunLoopDoSources0 + 556 22 CoreFoundation 0x000000010d77ba86 __CFRunLoopRun + 918 23 CoreFoundation 0x000000010d77b494 CFRunLoopRunSpecific + 420 24 GraphicsServices 0x0000000111d16a6f GSEventRunModal + 161 25 UIKit 0x000000010afb1f34 UIApplicationMain + 159 26 Pong2 0x0000000109bbffaf main + 111 27 libdyld.dylib 0x000000010e71c68d start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb) '''

1 Answer

Bruce Röttgers
Bruce Röttgers
18,211 Points

If you're having a SIGABRT it's often, because you try to access something which is nil or doesn't exist. You have to read every line of the error message (or use cmd+F to search in the Text) to find the reason.

Here it's this:

setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key storyboard.

I think you're trying to set an value for an key in an dictionary, if this is not the error I'd recommend doing this:

  • ask question on stackoverflow.com
  • google around to find out about SIGALBRT errors (read about common errors, how to understand those error messages)

PS: If you want to make it show in this code format you have to use backticks like this: ` and not those ' or those ´