My code in the main.m file is as follows. I have not changed it at all from the moment I started programming this application.
#import <UIKit/UIKit.h> #import "rickAppDelegate.h" int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([rickAppDelegate class])); } }
I get a SIGABRT error in the string "return UIApplicationMain". My program is an application that displays a red button, and when you click it, it plays the video. This error appeared after I implemented iAds using this tutorial: http://www.ioslearner.com/implement-iads-tutorial-iphone-ipad-sdk/
It worked at first, but then I started getting the SIGABRT error. I have done a lot of searches and cannot figure out how to fix this. On all websites, someone asks about this and then calculates it themselves or with a very vague answer that I cannot understand. Please help! If you answer, could you please clarify what I should do. If necessary, I can publish all my code. Thanks in advance!
source share