skip to Main Content

I’m trying to test out my app on a old version of iOS (11.0).

  1. Press "Add additional simulators" in Xcode’s "set active scheme"-selector

Select simulator in Xcode

  1. Click "Download more simulator runtimes…" in the OS version drop down.

Add a simulator in xcode

  1. Download the iOS 11.0 runtime. (also visible by navigating to Xcode Settings -> Components -> Simulators)

Download iOS 11 runtime from Xcode

After having done this, I expect iOS 11.0 to be visible on the "OS version" drop down from image 2, but it’s not.. It looks exactly like image 2.. When closing Xcode and rebooting my Mac and going back in the runtimes list, it still looks exactly like it does on image 3. Runtime is downloaded, but I cannot create it as an simulator.

How can I create a new simulator after downloading the runtime, when the runtime doesn’t appear in the "Create Simulator"-dialog?

2

Answers


  1. Chosen as BEST ANSWER

    Running xcrun simctl list runtimes in the Console reveals which runtimes are currently installed. Here's how that's looks on my system currently:

    == Runtimes ==
    iOS 11.0 (11.0.1 - 15A8401) - com.apple.CoreSimulator.SimRuntime.iOS-11-0 (unavailable, The iOS 11.0 simulator runtime is not supported on hosts after macOS 10.15.99.)
    iOS 11.1 (11.1 - 15B87) - com.apple.CoreSimulator.SimRuntime.iOS-11-1 (unavailable, The iOS 11.1 simulator runtime is not supported on hosts after macOS 10.15.99.)
    iOS 11.4 (11.4 - 15F79) - com.apple.CoreSimulator.SimRuntime.iOS-11-4
    iOS 12.0 (12.0 - 16A366) - com.apple.CoreSimulator.SimRuntime.iOS-12-0
    iOS 14.4 (14.4 - 18D46) - com.apple.CoreSimulator.SimRuntime.iOS-14-4
    tvOS 14.3 (14.3 - 18K559) - com.apple.CoreSimulator.SimRuntime.tvOS-14-3
    watchOS 7.2 (7.2 - 18S561) - com.apple.CoreSimulator.SimRuntime.watchOS-7-2
    

    Here's the problem is explained: (unavailable, The iOS 11.0 simulator runtime is not supported on hosts after macOS).. So it turns out, that:

    Not all runtimes available for download are supported by the current version of macOS

    I was unable to find a official reference to which simulators are supported on which os...


  2. Don’t you have them automatically in the Simulators list after the components were installed?
    enter image description here

    I never had to create the simulator like this. Usually it’s enough to download the components. Sometimes you might need to check the ‘Show as run destination’ checkmark in order to have it in the run list.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search