Xcode iOS project only shows "My Mac 64-bit" but not simulator or device

Nic Hubbard picture Nic Hubbard · Dec 4, 2011 · Viewed 65.2k times · Source

This just started happening that my iOS project is only showing "My Mac 64-bit" rather than the Simulator or my iPhone to build to. I have no idea why this is happening. I do not think that I have changed anything.

enter image description here

I have my project set to iOS 5 as the base SDK, but no matter what I do it seems to never show my any other options to build for. I have restarted Xcode a few times, and still no luck.

Why is the happening?

Xcode 4.2, Build 4D199

Answer

Nic Hubbard picture Nic Hubbard · Dec 4, 2011

I figured it out. I had to edit the scheme (Product->Scheme->Edit Scheme...), and for some reason no executable was selected. I chose my app, saved and now I have my simulator and device options back.