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

Jacob McLaws
Jacob McLaws
1,497 Points

Build succeeds, but then terminates with NS Exception?

Working on the Blog Reader project and I get this when I try to run:

"libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)"

Any idea what I should do? This looks similar to the error we got in the video when the class was not associated with the storyboard, but that is already taken care of.

Thanks for the help! Below is a link to my code.

https://www.dropbox.com/sh/3wuyh8qy6zm7vpv/AAADVfBaIqd3E7mtUdN74aHfa?dl=0

1 Answer

Stone Preston
Stone Preston
42,016 Points

There should be some more information in the console about what's throwing the exception. Scroll around a bit and see if you can find it. You can also try setting an exception breakpoint by going to debug -> breakpoints -> create exception breakpoint. That way it will break on the line throwing the exception