How to change the iOS version for the simulator?

Wednesday: Beta 8.2 (8C30a)

My scheme lists only devices.
How to change the version of iOS in the simulator?

I see the available iOS simulators ...

enter image description here

... but they are not listed in the scheme list.
They also do not distinguish between iOS versions in Scheme Manager.

enter image description here

+17
source share
3 answers

The list of available simulators is dictated by three factors:

  • It will not show you the simulators whose iOS version reaches your current goal of application deployment. If you want to see some recent, previous iOS simulators, make sure the app deployment target is set accordingly.

    deployment version

  • If you go to "Settings" Xcode - "Components", you can confirm which iOS simulators are installed on your computer.

    components

  • In the Xcode Devices window ( shift + command + 2 ), as shown in the snapshot in the original question, you can configure specific simulator devices for your Xcode environment.

+37
source

After adding the @availability and #availability flags , which allowed me to get a successful compiled for and earlier distribution target, I noticed that iOSes are back:

enter image description here

0
source

Go To Simulator → Go to the window tab and for the last time you can see the version of Simulator

enter image description here

-3
source

Source: https://habr.com/ru/post/1012435/


All Articles