Xcode iOS项目仅显示“My Mac 64-bit”。但不是模拟器或设备 [英] Xcode iOS project only shows "My Mac 64-bit" but not simulator or device
问题描述
这刚刚开始发生,我的iOS项目只显示我的Mac 64位,而不是模拟器或我的iPhone构建。我不知道为什么会这样。我认为我没有改变任何东西。
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.
我将我的项目设置为iOS 5作为基础SDK,但无论我做什么,它似乎永远不会显示我的任何其他选项来构建对于。我已经重启了Xcode几次,但仍然没有运气。
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.
为什么会发生?
Xcode 4.2,Build 4D199
推荐答案
我弄清楚了。我必须编辑该方案(Product-> Scheme-> Edit Scheme ...),并且由于某种原因没有选择可执行文件。我选择了我的应用程序,保存了,现在我恢复了我的模拟器和设备选项。
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.
这篇关于Xcode iOS项目仅显示“My Mac 64-bit”。但不是模拟器或设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!