30

I want to test my apps in the iOS 10 simulator, but I'm not sure where to get the .runtime file for iOS 10. I don't see a download for it under Components in Xcode 8. Where can I download the .runtime file for iOS 10 (if it exists)?

Thanks in advance!

EDIT: I forgot to mention: As I was trying to fix another problem (before I asked this question), I ended up deleting all of my runtimes and redownloading them (except for iOS 10).

atirit
  • 1,492
  • 5
  • 18
  • 30

8 Answers8

35

I ran into this issue earlier today. After installing Xcode - beta, my simulator was still only displaying iOS simulators 9.3 and below. What eventually ended up working for me was:

  • Killing the currently running simulator with cmd-Q
  • Control clicking (right click) on the Xcode - beta icon in my dock
  • Hovering over "Open Developer Tool"
  • Selecting Simulator from this menu

Once the simulator launched, I began to see iOS 10 in the Hardware -> Device drop down. Hope that helps.

Aaron Schooley
  • 467
  • 3
  • 4
  • 2
    Thank you. If it wasn't for Stack Overflow, we'd really get nothing done on iOS. We certainly can't rely on Apple for useful, timely advice on how to get their software to work. – Womble Aug 02 '16 at 06:54
  • 4
    Who do you think the top responders are to Apple related questions on SO, in the dev forums, on reddit, etc? I'll give you a hint ... many of them work at a company in Cupertino named after a fruit. – Jeremy Huddleston Sequoia Aug 02 '16 at 07:30
  • Aaron, it sounds to me like you were previously running Simulator.app from Xcode 7.3, which is why you didn't see the iOS 10 Simulator. Once you ran Simulator.app from Xcode 8, you were able to interact with the iOS 10 Simulator. – Jeremy Huddleston Sequoia Aug 02 '16 at 07:31
  • @JeremyHuddlestonSequoia - rhymns with grapple – Nick Aug 10 '16 at 16:43
  • Also note that you can't set up an iPad 2 simulator with iOS 10. You have to use the ginormous retina/air simulators if you want to test iOS 10 on a tablet. – aroth Sep 23 '16 at 16:49
15

Xcode > Open Developer Tool > Simulator

Xcode > Open Developer Tool > Simulator

close And re-open Xcode again

enter image description here

  • This worked for me after opening and using Xcode 9 Beta 5. None of my simulators were present in Xcode 8.3.3. Adding simulators manually to Xcode 8.3.3 did not work. – Paul Solt Aug 23 '17 at 10:49
12

All ios 10 simulator are already downloaded with xcode8 - beta it self. You can download additional simulators from preference -> Components. enter image description here

And You can get data for you app in those simulators at following path.

/Users/User_ACC_Name/Library/Developer/CoreSimulator
Shreyank
  • 1,549
  • 13
  • 24
  • 1
    I don't see any runtimes in `/Users/username/Library/Developer/CoreSimulator`. I do have the 9.3 runtime in `/Library/Developer/CoreSimulator/Profiles/Runtimes`. – atirit Jun 22 '16 at 22:34
  • 1
    This will not work (at least as of today Xcode 8 - 8S12SD). – John Doe Jun 23 '16 at 15:09
  • 2
    No, as the OP says, the iOS 10 simulator does not appear in the Components list by default. See other Answers for the correct answer. – Womble Aug 02 '16 at 06:52
6

Ensure existing simulators are closed. Then open XCode 8 (beta):

Go to menu XCode -> Open Developer Tools -> Simulator.

John Doe
  • 2,173
  • 1
  • 21
  • 12
4

This worked for me:

  1. Go to App Store and Make Xcode Update 8.0
  2. Open Xcode and it installs the components
  3. Go to Menu "Window" > "Devices"
  4. Add A New Device (Important one that supports iOS 10))
  5. At the end the devices list is updated, and you can run the devices that can run iOS 10 in the simulator

Steps 1 to 5 Screenshots

CGN
  • 579
  • 4
  • 13
2

The iOS 10 Beta Simulator is shipped inside of Xcode 8.0 Beta. You do not need to download anything extra. The primary reason for the large size of the Xcode download is for the three simulator runtimes that it contains.

Jeremy Huddleston Sequoia
  • 22,938
  • 5
  • 78
  • 86
  • You missed the OP's comments about not seeing the simulator appear in the Components list. Other Answers (regarding launching via Open Developer Tool) are correct. – Womble Aug 02 '16 at 06:53
  • No, I did see that comment. The reason it doesn't appear in the components list is because it is shipped as part of Xcode 8. Only the DLC runtimes are listed in that components list. iOS 10 is not DLC. It is included in Xcode 8. – Jeremy Huddleston Sequoia Aug 02 '16 at 07:27
0

OK, this has been open for long enough and Xcode 8/iOS 10 are out of beta, plus I solved this problem a week after this was asked, so I'll post my own answer. I ended up redownloading and reinstalling the entire Xcode 8 beta which includes the .runtime file in itself. Bit of an overkill, but I didn't have any other options at the time.

atirit
  • 1,492
  • 5
  • 18
  • 30
0

Nothing already mentioned worked for me. I was missing iOS 10.3 simulators in Xcode 8.3.3. What worked for me was to reset the simulators using fastlane snapshot tool:

sudo gem install snapshot
snapshot reset_simulators

Source: https://stackoverflow.com/a/37814682/1318739

Marián Černý
  • 15,096
  • 4
  • 70
  • 83