Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the iOS version for the Simulator?

Environment: Version 8.2 beta (8C30a)

My schema list only devices.
How do I change the iOS version in simulator?

I can see the available iOS Simulators...

enter image description here

...but they're not listed in the schema list.
Nor is their a way to discriminate amongst the iOS versions within schema manager.

enter image description here

like image 704
Frederick C. Lee Avatar asked Nov 17 '16 22:11

Frederick C. Lee


People also ask

How do I use an older iOS simulator?

To run an older iOS simulator, you must choose an older iOS version in the "iOS Deployment Target" build setting popup. Only then will the "Overview" popup offer older Simulators: back to 4.0 for iPhone and to 3.2 for iPad.


2 Answers

The list of available simulators is dictated by three factors:

  1. It will not show you simulators whose iOS version is prior to that of your current app's deployment target. If you want to see some recent, prior iOS simulators, make sure your app's deployment target is set accordingly.

    deployment version

  2. If you go to Xcode "Preferences" - "Components", you can confirm which iOS simulators are installed on your machine.

    components

  3. In Xcode's "Devices" window (shift+command+2), as shown in the snapshot in your original question, you can configure particular simulator devices for your Xcode environment.

like image 102
Rob Avatar answered Sep 30 '22 14:09

Rob


Open your xcode and press command + shift + 2.

Device/simulator dialog

Click on left bottom + button and your new simulator with required iOS version.

Add simulator dialog

Click create, now you are ready to use the new simulator.

like image 21
Shahbaz Hashmi Avatar answered Sep 30 '22 14:09

Shahbaz Hashmi