Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 5 not showing Scheme option to run Simulator on iOS 6

Xcode 5 is behaving just fine, and I'm able to build and run apps on my iOS 7 device and in the iOS 7 simulator.

However, I do want to support iOS 6.1, but I don't see any way to build and run the apps for an iOS 6 simulator.

Things wot I've done:

  • Set Deployment Target to 6.1 for both Project and Target
  • Downloaded iOS 6 Simulator
  • Copied the iOS 6 SDK into Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
  • Reset Content and Settings for the simulator

Originally, I was trying to see the app in the iOS 6 simulator by switching from iOS 7 to iOS 6 in the Hardware > Device menu in the iOS Simulator application, but there aren't any apps in the iOS 6 simulator.

I'm gathering from answers like this one that there should be something I can select before I click Build/Run.

I'd love to be able to see my apps in both iOS 6 and 7 simulators. Any ideas what I'm missing? Here's a LINK to what I see when I click on the simulator dropdown.

like image 495
weienw Avatar asked Oct 04 '13 17:10

weienw


1 Answers

Turns out the solution was changing the deployment target for the project from iOS 6.1 to iOS 6.0, upon which the simulator scheme selection immediately showed the option to choose iOS 6 or 7 simulators. Basically the deployment target should match a simulator version that you have installed.

Thanks to random commenters in questions like this one who mentioned that that worked for them.

like image 52
weienw Avatar answered Oct 16 '22 07:10

weienw