Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an iPhone SE simulator for Xcode 11, iOS 13?

I'm running Xcode 11.0 on macOS Mojave (10.14.6) and though the iPhone SE is officially supported on iOS 13, it doesn't appear in the list of simulators.

enter image description here

It can't be added nor downloaded, as far as I can see. Any ideas?

like image 254
Dylan Avatar asked Sep 24 '19 01:09

Dylan


People also ask

How do I simulate an iPhone using Xcode?

To run your app in Simulator, choose an iOS simulator—for example, iPhone 6 Plus, iPad Air, or iPhone 6 + Apple Watch - 38mm—from the Xcode scheme pop-up menu and click Run. Xcode builds your project and then launches the most recent version of your app running in Simulator on your Mac screen, as shown in Figure 1-1.

Do I need Xcode for iOS simulator?

The Simulator app requires several other large directories from the Xcode distribution in order to work at all. The only official way to install all of those properly is to install the entire SDK from the dmg.


2 Answers

Xcode 11 doesn't automatically add every possible simulator. But you can add an iPhone SE iOS 13 simulator.

In Xcode, click on the Window menu and select Devices and Simulators. Select the Simulators tab. Tap the + in the bottom-left corner. Give the new simulator a name. Select iPhone SE as the device type. Enter iOS 13 as the OS Version.

Now you have what you need.

Edit: This is still valid with XCode 12.3 and iOS 14.3 as of January 2020

like image 97
rmaddy Avatar answered Oct 04 '22 16:10

rmaddy


Also can be useful. The problem may be in your project preferences. If downloading simulators didn't work, try this. Open you project in Xcode -> Choose your project on the Navigator which is on the left side Navigator

Then in the Deployment Info in target tab choose IOS version for your project (choose 10 or 11 for all simulator displaying)

Deployment Info

like image 27
prostiak Avatar answered Oct 04 '22 16:10

prostiak