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.

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
解决方案
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.
博主分享了解决iOS项目构建时,模拟器和设备选项消失,只显示'MyMac64-bit'的问题。通过编辑Scheme并重新选择可执行文件,恢复了模拟器和设备选项。
697

被折叠的 条评论
为什么被折叠?



