Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't run iPhone 5s simulator in new XCode6.1

I just upgraded my macbook OS to Yosemite and updated XCode from 6.0 to 6.1 and now when I build my project and try to run for iPhone 5s with iOS7.0 simulator , it gives me an error saying "iPhone 5s is not available, please select a different device and try again". In XCode 6.0, this was working totally fine.

Following are the build settings for my app

   Architecture - Standard Architecture(armv7, arm64)
   Base SDK - Latest iOS(iOS 8.1)
   Valid architectures - arm64, armv7, armv7s
   iOS Deployment Target - iOS6
like image 759
yogsma Avatar asked Oct 21 '14 13:10

yogsma


People also ask

How do I download and install Xcode simulators?

Open up your Xcode and go to Xcode > Preferences… through the top menu bar (you can also use shortcuts: Command + , ): 2. Select Components: 3. Click on the download icon that stands on the left side of the simulator you want to download and install:

Is it possible to run Xcode on a virtual machine?

Yes, it’s completely possible. Assuming your VM is set up, open up the Mac App Store. Install Xcode from the Mac App Store, it’s free, but it’s a big download, so make sure you have something to do while it’s downloading. Open Xcode once it’s done installing. Finish initial setup.

Is it possible to run an iPhone simulator inside a VM?

Is it possible to run an iPhone simulator inside a VM running MacOSX? Yes, it’s completely possible. Assuming your VM is set up, open up the Mac App Store. Install Xcode from the Mac App Store, it’s free, but it’s a big download, so make sure you have something to do while it’s downloading. Open Xcode once it’s done installing.

How do I install the latest version of Xcode?

You can easily install the one you need via Xcode. This article shows you how to do so in Xcode 12.x, Xcode 13.x, and newer. 1. Open up your Xcode and go to Xcode > Preferences… through the top menu bar (you can also use shortcuts: Command + , ):


2 Answers

Found the real answer

The earliest simulator runtime supported on Yosemite is 7.1. 
like image 196
yogsma Avatar answered Oct 15 '22 05:10

yogsma


Also happened here with iPhone 5s 7.1 being used. I found out I had accidentally interrupted the 7.1 simulator download. I had to open Downloads ( Command + , ) and let Xcode finish downloading it.

like image 21
Uzaak Avatar answered Oct 15 '22 05:10

Uzaak