Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS

Pun Project

Hi Guys,

I just completed the Storyboard portion of the Pun Project and when I run my complier I receive the following message "[9034:11303] Application windows are expected to have a root view controller at the end of application launch" and the iOS simulator only displays a white screen. I checked all my code with the project file and cannot figure out what I am doing wrong.

Any Advice?

4 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

@Lou Check for the following:

  1. Since you are using a Storyboard. Check your Project Summary to make sure you have a default storyboard.
  2. Is there an initial scene defined within your Storyboard?

Hi Amit,

Thank you for the quick response. I have the default setting set to MainStoryboard and i checked off the "is Initial View Controller' box in Navigation Controller within my Storyboard. I also made sure this box was not checked off in the other Controllers within my Storyboards. Unfortunately I get the same response when I run the complier. Any other suggestions?

Thank you again for your input,

Lou

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

Do you have any code in the method didFinishLaunchingWithOptions within the AppDelegate? If so, remove it. Without looking at your project it's hard to say what could be going wrong. Pasting your error in Stackoverflow turns up tons of posts.

Hi Amit removing the code worked. I should have caught that. Thank you. Also, I appreciate you sending me the Stackoverflow link, the message board is very helpful. thanks again...