title: iPad Ok but on iPhone (Cocos2D 1.0.1) Applications are expected to have a root view controller at the end of application launch
body: <p>When I run my app as iPad on device/simulator everything is ok
  but when I run it as iPhone I get the Applications are expected to have a root view controller at the end of application launch problem.</p>
  
  <p>I am on XCode 5.
  I do not have a RootViewController/viewcontrollers in my application delegate because I am using Cocos2D. </p>
  
  <p>In my application Delegate I do stuff like</p>
  
  <p>CC_DIRECTOR_INIT();</p>
  
  <pre><code>// Obtain the shared director in order to...
  CCDirector *director = [CCDirector sharedDirector];
  
  // Turn on display FPS
  [director setDisplayFPS:YES];
  
  // Set multiple touches on
  EAGLView *glView = [director openGLView];
  [glView setMultipleTouchEnabled:YES];   
  [glView setUserInteractionEnabled:YES];
  // Enables High Res mode (Retina Display) on iPhone 4 and maintains low res on all other devices
  if( ! [director enableRetinaDisplay:YES] )
      NSLog(@"Retina Display Not supported");
  [director setProjection:kCCDirectorProjection2D];
  </code></pre>
  
  <p>Will this be fixed If I just create some kind of nib file for my main window? as I lack a Mainwindow Nib</p>