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 trialAnton Gustafsson
233 PointsIOS Simulator 7.1 does not display app (black screen)
I'm trying to test my app (Crystal Ball) but I can't get it to work in IOS Simulator. I click the "build and run" button and the IOS Simulator starts but it only displays a black screen. Need help solving this problem.
I'm running OS 10.9.2, Xcode 5.1 (5B130a) and IOS Simulator 7.1
Anton Gustafsson
233 PointsNo, the only thing Xcode says is "build succeed
5 Answers
Stone Preston
42,016 Pointsset your storyboard file as the main interface in your project settings. that may fix it.
Deanna Robertazzi
Courses Plus Student 2,447 PointsHow do I set the storyboard file as the main interface? I'm having a similar problem.
Stone Preston
42,016 PointsIf you click your project name at the top of the file explorer on the left side of xcode (the icon looks like a blue print) it should open up you project settings. In the info tab there should be a setting labeled main interface. Set your storyboard file as the main interface
Deanna Robertazzi
Courses Plus Student 2,447 PointsI clicked on price settings but I don't see anything that can set the storyboard file as the main interface. Maybe I should start the project all over again. :(
Stone Preston
42,016 PointsI wouldn't start over. It's definitely there. It's in one of the first project settings tabs. Maybe general? I don't have xcode in front of me so it can't say for sure. But there is a drop down in the general settings labeled main interface. Click the drops down and select your storyboard or just type the name of the storyboard in the blank
Deanna Robertazzi
Courses Plus Student 2,447 PointsI looked in the general preferences. Here's what I have:
https://www.dropbox.com/s/5vfievhvsimug7q/Photo%20Jul%2006%2C%202%2025%2030%20PM.jpg
Nothing regarding to any storyboard or main interface.
Stone Preston
42,016 PointsIt's in your project settings, not xcode preferences. See my post from earlier on how to get to your project settings
Anton Gustafsson
233 Points.
Vikram Pal
Courses Plus Student 101 PointsVikram Pal
Courses Plus Student 101 PointsDoes Xcode return any errors when you run it?