xcode 4.2.1

Discussion in 'iOS Programming' started by johnkiza, Jun 7, 2012.

  1. johnkiza macrumors newbie

    Jun 7, 2012
    Hello guys,

    I've started an application for iphone using xcode 4.2.1
    but when I run it I get the error

    "Applications are expected to have a root view controller at the end of application launch"

    I made it as simple as possible but still get the same error.
    Last time I developed an application was on xcode 4.1

    Did something changed?
    Any suggestion is appreciated
  2. CodeBreaker macrumors 6502

    Nov 5, 2010
    Sea of Tranquility
    The 4.2 SDK includes StoryBoards -- an alternative way of designing the View hierarchy of your apps.

    If you are using the traditional way (view controller/nib), make sure you set your window's rootViewController to the main/first screen of your app, as it finishes launching.
  3. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Which template did you use as the basis for your app? Also, what kind of changes, if any, did you make to the appDelegate?

Share This Page