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

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.