Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
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'.