Xcode 4 - IOS - Simulator not available as build t

2019-06-15 01:28发布

I have a weird issue... I'm unable to find the simulator as a device in order to test my application. Anyone have any idea how to fix it? In a new project, it is available though.

weird

Regards, EZFrag

2条回答
ゆ 、 Hurt°
2楼-- · 2019-06-15 02:00

Here's what happened to me ... when I updated to the latest version of XCode (4.3.2) I didn't bother to uninstall the previous version. I mistakenly opened my iOS 5.1 targeted project in the older version of XCode that does not know about 5.1 and as a result the simulator was not available. So i would check for the following:

  • See which version of XCode you're currently running
  • Try checking your iOS Deployment Target ... (Targets -> Deployment). If iOS 5.1 is selected change it to iOS 5.0 (the simulator will show up immediately)
查看更多
欢心
3楼-- · 2019-06-15 02:08

In additional to G.Bickham's answer, please make sure the iOS Simulator is downloaded.

To verify the download status, go to Xcode's Preferences > Downloads > Components > iOS Simulator

enter image description here

查看更多
登录 后发表回答