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 Game with Sprite Kit Artificial Intelligence and Sound Adding Sound Effects

ERROR IN CODE (PLZ HELP)

THE CODE SAYS ERROR IN THREAD 1: SIGNAL SIGABRT. IT HAD HAPPENED ONLY AFTER I ADDED ALL OF THE SOUND. PLZ HELP

4 Answers

Maximilian McKinley
Maximilian McKinley
7,525 Points

SIGABRT errors refer to a general uncaught exception. Look at the console to find where the issue lies and try running a fee breakpoints to debug the issue.

Can't really say what the issue is without seeing the rest of the console error log.

where can i find the console error log?

Maximilian McKinley
Maximilian McKinley
7,525 Points

Not sure what version xcode you are using, but it should be something like View> Debug Area> Activate Console.

It says this: return UIApplicationMain(argc, argv, nil, NSStringFromClass([DMAppDelegate class])); followed by thread 1: signal SIGABRT

Maximillian Thanks for your help, however I resorted to retyping all of my sound code which somehow made it work.... If I have any further question I will try to ask you, for you have some great knowledge in coding unlike me.

Maximilian McKinley
Maximilian McKinley
7,525 Points

Aditia, I'm sorry I could not have been of more help. It is very hard to track down exception errors without seeing all the code. It has also been some time since I last coded iOS as I'm an Android developer now (still try to keep up with iOS though when I can). Might I suggest you look into to better harness debug tools for the future. They will make all the difference on where to find these kinds of problems and can give other a better idea of how they can help you.