iOS xcode 4.2.1

johnkiza

macrumors newbie
Original poster
Jun 7, 2012
1
0
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
 

CodeBreaker

macrumors 6502
Nov 5, 2010
494
1
Sea of Tranquility
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
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.
 

dejo

Moderator
Staff member
Sep 2, 2004
15,981
450
The Centennial State
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.
Which template did you use as the basis for your app? Also, what kind of changes, if any, did you make to the appDelegate?
 

Similar threads

  • wlisik
14
Replies
14
Views
2K
  • jasnw
2
Replies
2
Views
853
  • gimmesomemo
1
Replies
1
Views
660
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.