Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

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
 
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.
 
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.