sejn
sejn

Reputation: 2644

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

Upvotes: 33

Views: 69474

Answers (8)

Dharminder Singh
Dharminder Singh

Reputation: 1

You would need to update the iOS version under Project → Targets → General → Minimum Deployments. It should be set to the lowest iOS version. Only then your older versions of iOS Simulator will appear.

Xcode iOS App Targets General settings

  1. Open Xcode.

  2. In the Xcode menu, go to Window → Devices and Simulators menu.

  3. Click on Simulators tab.

  4. Click on the "+" icon at the left bottom.

  5. Choose the desired device & preferred version of iOS.

  6. Click "Create".

Upvotes: 0

Osama Remlawi
Osama Remlawi

Reputation: 2990

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

Upvotes: 46

kandari venkesh
kandari venkesh

Reputation: 181

In Xcode go to Window > Devices and Simulators Here click on the simulators and then click on '+' to add a desired device.

Upvotes: 18

Rafael Maghari
Rafael Maghari

Reputation: 91

Update 2020

Open xcode simulator File > Open device > select your desired device.

Upvotes: 7

priyalp
priyalp

Reputation: 11

For Simulator iPhone Xs 13.3 is not available by default in simulators list, So we would have to create it.

Steps :-

•Xcode Menu -> •Open Developer Tool -> •Simulator ->• Hardware -> •Device -> •Manage Devices -> •Simulators -> •Left Column -> •Click on + to create your device -> •Add Simulator Name (possibly iPhone Xs 13.3)…Device type to be iPhone Xs and OS Version iOS 13.3 -> •Create

Your New Device will be available in the list of Devices.

Similarly we can create other devices too.

[xcode]


Upvotes: 1

Luiz Dias
Luiz Dias

Reputation: 1980

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

Upvotes: 22

Kathiresan Murugan
Kathiresan Murugan

Reputation: 2962

iPhone XS simulator is available on XCode 10 and above.

We can’t able to create a iPhone XS simulator on below XCode 10 But we can add

iOS 12.0 simulators in XCode 9.3

Upvotes: 0

Radhe Yadav
Radhe Yadav

Reputation: 120

for that u need to upgrade your xcode version to xcode 10, thats not available for xcode 9.2

Upvotes: 1

Related Questions