XCode iOS project only shows “My Mac 64-bit” but not simulator or device

来源:互联网 发布:一对一随机视频软件 编辑:程序博客网 时间:2024/05/21 10:55

转载自:http://stackoverflow.com/questions/8377970/xcode-ios-project-only-shows-my-mac-64-bit-but-not-simulator-or-device

问:



2down votefavorite
1
share [fb]share [tw]

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

答:


up vote5down vote

Often times this can happen when some files change without xcode's blessing. As in when switching between version control branches.Usually restarting Xcode fixes that problem.

link|improve this answer