how do i fix the sigabrt error?

Hello,

I'm new in IOS programming and I need your help.


When I start my app (Single View Application) in the ios-simulator I become this error:


Thread 1: signal SIGABRT

terminating with uncaught exception of type NSException

code in main.m file:

#import <UIKit/UIKit.h>

#import "AppDelegate.h"

int main(int argc, char * argv[]) {

@autoreleasepool {

return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); Here is the error

}

}


I dont understand this error.

Thank you for your help.

OK, so you accidentally added a "breakpoint" to your app at that point, so when your code reaches that point, it screeches to a halt so you can slowly step through your code and watch it run. It's kind of cool, but I understand your confusion since you didn't understand what you did.


Need any more help?

Not now, when I need help again, I will ask you.


Thanks

All right. Good luck with your app! 🙂


If you need more help, please start another thread.

I had a similar problem with GameScene.sks. I upgraded to Xcode 8 and my project no longer displayed the GameScene. The problem was resolved by resetting the orientation in the GameScene.sks file properties. This took me ages to discover so I hope this info helps.

how do i fix the sigabrt error?
 
 
Q