Thread 1: signal SIGABRT

Hi good afternoon!

I'm trying to run a react-native application in xcode but after the successful build the application didn't work as it should be.

I get this 'Thread 1: signal SIGABRT' error. I've been searching for a fix regarding this but most of the solution I've found is related to connection the outlets. There's no storyboard in the project so I don't have any idea what causes the error.


The underline code belo was where Thread 1: signal SIGABRT appears.

---------------------------------------------------------------

#import <UIKit/UIKit.h>


#import "AppDelegate.h"

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

@autoreleasepool {

return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); -> Thread 1: signal SIGABRT

}

}

---------------------------------------------------------------

Hope that you could help me.

Thank you!

Replies

You are sent to the appDelegate, but that's not where the error occurs.


Have you a complete crash report (at least post the beginning of it).


You say you have no storyboard. How is UI defined in your app ? In code ? If so, please show the complete code for UI initialization.

This is not where the crash occurs.

Place

NSLog(@"here I am - 17253846");

lines in the code to determine how far the code gets before the crash occurs.