Have you bothered to look at the console?
"Applications are expected to have a root view controller at the end of application launch"
Also, what are you expecting to happen?
Code:
- (BOOL) application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
[self addAlarmToCalendar];
self.window = [[UIWindow alloc] initWithFrame:
[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
}