Getting the above error when my app launches. The following code is from my AppDelegate .h File
#import @interface TableViewAppDelegat
Swift 2 solution that worked for me :
Insert the code below in AppDelegate -> didFinishLaunchingWithOptions
self.window!.rootViewController = storyboard.instantiateViewControllerWithIdentifier("YourRootViewController") as? YourRootViewControllerClass