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

Best,

Greg

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