Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add simulator iPhone XS in Xcode 9.2 also iPhone XS max

I need to build my app on an XS device. I am using Xcode 9.2.

How can I add the XS modal in my Xcode externally?

In my simulator I have up to iPhone X.

My machine Version:

OS X version: 10.12.6 (16G29)
Xcode version: 9.2
like image 274
sejn Avatar asked Dec 05 '18 11:12

sejn


People also ask

How do I add a simulator device to Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.

How do I change generic iOS device to simulator Xcode?

Open Xcode, Goto Preferences, Select Component. Click on Simulators of your choice then it will start the process of download & installing the simulators.


2 Answers

Simple solution:

  1. Open Xcode.
  2. Select the "Window" menu.
  3. Select "Devices and Simulators".
  4. Select Simulators tab.
  5. Click on the "+" icon at the left bottom.
  6. Choose the desired device & preferred iOS.
  7. Click "Create".
  8. Enjoy :).

enter image description here

enter image description here

like image 133
Osama Remlawi Avatar answered Sep 18 '22 12:09

Osama Remlawi


For those here with the same problem but for Xcode 10.x and need iOS 13 simulators (iPhone 11, for instance) do the following:

  1. Install and open Xcode 11
  2. Go to Xcode menu > Open Developer Tool > Simulator
  3. On the Simulator app, go to Hardware menu > Device > iOS 13 to select and run your desired device
  4. Now you can close Xcode 11, and open Xcode 10.x
  5. You should see your i.e iPhone 11 simulator available in the Device List as the image:

enter image description here

like image 37
Luiz Dias Avatar answered Sep 19 '22 12:09

Luiz Dias