Xcode project not showing list of simulators Ask Question

Xcode project not showing list of simulators Ask Question

I open my project in Xcode 6.1. When I try to run the project, the button is grayed out. When I try to go to Product > Clean, the option is grayed out. When I look at the list of simulators, all I get is My Mac instead of the usually iOS Device. How do I get my simulators to come back?

ベストアンサー1

Make sure that the project you are trying to run has deployment target equal to or less then the SDK version of your Xcode. In my case I tried to run a project which was built using iOS8.4 but I have Xcode6.1 with SDK version 8.1

I changed the deployment target to 8.1 and it start showing me simulators.

PS: これを実行する前に、コードと外部ライブラリが新しいデプロイメント ターゲットと互換性があることを確認してください。互換性がない場合は、Xcode を更新する必要があります。

おすすめ記事