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

Cameron Wood
Cameron Wood
4,840 Points

signal SIGABRT error during "Build a Playlist Browser with Objective-C" video.

So I am currently enrolled in the IOS Objective C track and building an app. I'm watching the 'Segues' video and everything was fine until I renamed the 'viewController' files and deleted the (IBAction) buttonPressed in the implementation file. And yes, I deleted the reference in the Interface Builder as well. ***WHEN the app ran it immediately crashed and gave me a signal SIGBART error in the main.m on this line: return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

Please let me know if you can help so I can continue! Also, I've done an Exception Breakpoint for all to try and debug and what not. Thank you!

1 Answer

Arman Arutyunov
Arman Arutyunov
21,900 Points

My guess it is that you might forgot to change that class of the view controller inside the identity inspector tab in the interface builder. You should open your storyboard, click on the view controller's yellow button on top, then in the right panel click the third tab named "identity inspector" and under "custom class" change the name of the class. If the problem is not there, let me know we'll try to find it elsewhere.