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


When I deleted the button in Algorhythm, everything broke!

Hi all. Like i said, it all went to pot when I erased the button. Here are my errors...

2015-02-25 13:56:00.613 Algorhythm[33895:1232367] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Algorhythm.PlaylistMasterViewController 0x7fb53401c450> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key showPlaylist.' *** First throw call stack: ( 0 CoreFoundation 0x0000000100b44f35 exceptionPreprocess + 165 1 libobjc.A.dylib 0x0000000102688bb7 objc_exception_throw + 45 2 CoreFoundation 0x0000000100b44b79 -[NSException raise] + 9 3 Foundation 0x0000000100f5c7b3 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259 4 CoreFoundation 0x0000000100a8ee80 -[NSArray makeObjectsPerformSelector:] + 224 5 UIKit 0x0000000101695c7d -[UINib instantiateWithOwner:options:] + 1506 6 UIKit 0x000000010191f572 -[UIStoryboard instantiateViewControllerWithIdentifier:] + 181 7 UIKit 0x00000001013cfb92 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 65 8 UIKit 0x00000001013cec19 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1075 9 UIKit 0x00000001013cdbf2 -[UIApplication workspaceDidEndTransaction:] + 179 10 FrontBoardServices 0x00000001042152a3 __31-[FBSSerialQueue performAsync:]_block_invoke + 16 11 CoreFoundation 0x0000000100a7a53c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12 12 CoreFoundation 0x0000000100a70285 __CFRunLoopDoBlocks + 341 13 CoreFoundation 0x0000000100a6fa43 __CFRunLoopRun + 851 14 CoreFoundation 0x0000000100a6f486 CFRunLoopRunSpecific + 470 15 UIKit 0x00000001013cd669 -[UIApplication _run] + 413 16 UIKit 0x00000001013d0420 UIApplicationMain + 1282 17 Algorhythm 0x000000010094e88e top_level_code + 78 18 Algorhythm 0x000000010094e8ca main + 42 19 libdyld.dylib 0x0000000102e62145 start + 1 20 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)

Freddie Teague
Freddie Teague
13,808 Points

I have had problems with that error as well.

I have come to discover that when I “delete” something in the UIStoryboard, for some odd reason it maintains the “connection.”

After removing anything in the UIStoryboard, you may have to go into the “Document Outline” and find the missing or non-existent “connection.”

Just a thought.

Thanks for the comment, Freddie. Yeah, I disconnected the connection in the view controller, just as was instructed in the video. No idea how to fix this, beginner here. By the way, it seems like the pace Amit was at was a little more my speed. He explained things extremely well, and supplemented with visuals to drive the point home.

1 Answer

More info:

Desktop/Code/Algorhythm/Algorhythm/Base.lproj/Main.storyboard: warning: Unsupported Configuration: Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:.