I have an old app (from 2013/2014) that I need to make small updates to. When I run it in iOS 8.1 simulator, it works fine.
When I run on iOS 10, it shows splash screen (Default-568h@2x.png) for 1 second, and crashes (both on simulator and on iPhone 5s).
I get Thread 1: signal SIGABRT error on "return" line in MAIN.M
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
App is written in Objective-C and has no storyboard.
Please help me - I'm not developer, but need to get this fixed so I can upload update to AppStore.
PS - when I download this app from AppStore to iPhone 5s with iOS 10 it works fine, but the AppStore version is from summer 2014.
PS2 - I'm using Xcode 8.1