While trying to localize a SpriteKit game i suddenly started getting the error:
"Could not find a storyboard named 'Main' in bundle NSBundle"
I wasn't use a storyboard, and i think i actually deleted the file when i first started developing the game. 'Main storyboard file base name' was set to 'Main' (was set before as well when it worked and there was no storyboard). I deleted that entry and now the program just executes the AppDelegate file and essentially stops. What's missing where before it would automatically execute the root view-controller and now it does not?
I've tried the following in the app delegate:
*self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
FirstViewController *First = = [[FirstViewController alloc]init];
[self.window setRootViewController: First];
[self.window makeKeyAndVisible];
but when it moves to the FirstViewController it crashes here:
SKView * skView = (SKView *)self.view;
skView.showsFPS = YES;
But before i never needed that first snip it of code to execute the root view controller. Any ideas what might have went wrong? It all started during a blur of Localizing, Cleaning, Changing Languages, deleting Localizable.string files, etc....