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 Build a Simple iPhone App with Objective-C Creating a Data Model Using a Data Collection

Ravin Kohli
Ravin Kohli
3,367 Points

Thread 1 signal SIGABRT error

when i implemented this code a line of the file main.m is highlighted in red this line is: return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); on the right is the error mentioned in the title of the question and at the output section it says terminating with uncaught exception of type NSException

Tori Sambrooks
Tori Sambrooks
3,896 Points

Ravin, This is a common issue. There are two methods I found to be most effective; The first method is to check all your Outlets and make sure they're connected to the correct thing (button, label, etc). The other option is to (while in Xcode) select product (located at the top of the screen) and then select "Clean". Once it has been cleaned, you can then "Build". I hope this helps!

1 Answer

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

Look on the left side of the code in the gutter on the line with the error. If there is a fat, blue arrow, right click on it, and select 'Delete Breakpoint'.