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 Build a Simple iPhone App with Objective-C Views and View Controllers Introduction to Views

Why can I not open the app simulator? Xcode opens up an app named simulator so that I can view the app but it is black?

I click the play button but the simulator application opens and I am unable to see what I am working on or how far I have come in the project. So now that I have this open It just opens in the app simulation viewer and not just on my Xcode workspace?

2 Answers

Greg Kaleka
Greg Kaleka
39,019 Points

Hi Jack,

So you're hitting the play button in XCode, and the app simulator (which should look roughly like an iPhone screen) is black?

In XCode, next to the play button, what is the device that's selected in the drop-down? It should be something like "iPhone 6 iOS 9.1". Are you getting any error messages in XCode? Can you post the code you have so far? Start with just the viewcontroller code.



If you're running many background tasks, it might be that the simulator is booting up. Wait for a couple of minutes, and see if it works. I too had to wait for a while as I had tons of running in the background (I know, bad idea)...