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!

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 Build a Blog Reader iPhone App Getting Data from the Web What is NSDictionary?

Jacob McLaws
Jacob McLaws
1,497 Points

Build Succeeds but Terminates

with this in the log:

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!

2 Answers

Could you post your code? Don't think we can lend you a hand without sending it.

Whoops. Forgot about this, sorry. OK so I ran through your code. It looks like the error is with setting the cell.textLabel.text to an array, which you can't do. Instead, set the cell textLabel text equal to the item it correlates to in the blogPosts array.

cell.textLabel.text = [self.blogPosts[indexPath.row] valueForKey: @"title"];