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

James Carney
James Carney
16,255 Points

Sigabrt Error on Crystal Ball App

I have been working through the crystal ball app, and everything was fine until I started working on animation. This is a line of code from my main.m file:\ '''return UIApplicationMain(argc, argv, nil, NSStringFromClass([JCAppDelegate class]));'''

with that I've been getting the error message: "Thread 1: signal SIGABRT"

Not sure what to do to or how to fix it. Who has dealt with this before or has a solution for it?

1 Answer

Stone Preston
Stone Preston
42,016 Points

that means there was an uncaught exception. set an exception breakpoint by going to debug -> breakpoints -> create exception breakpoint. This will break at the line causing the problem. that line from your main method looks correct so I dont think thats the issue.