When I run my app on a iPhone 5 I get no errors but when I run it on a iphone 4S it freezes when you touch a tab and then excode outputs:
"Thread 1: signal SIGABRT" on the "return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}" line.
In my Main.m
I don't know what I have done wrong. I tried to clean up code in my app but I don't know how to find what's making the error.
Here is my main.m
#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 get:
0x2f794ce7 0x2f794acb 0x344b5283 0x32036a41 0x1b7a5 0x3a141ab7)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) "