Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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...