Xcode 12 fails to add watchOS 4.2 simulator - ios

I want to build an app with WatchKit extension with watchOS 4.2 deployment target (for Apple Watch Gen0 support) in Xcode 12.4. I have iOS 14.4 and watchOS 4.2 simulators downloaded. But when i try to add paired watch to any iOS simulator and select "Apple Watch - 42mm" as device, the components windows instantly popups, and if i close it, there is no options in OS versions dropdown menu except "Download more simulator runtimes...". How can i add this simulator, if it possible in Xcode 12?
Pairing watches menu
Components window

Related

How to change simulator device in xcode 11.4?

xcode 11.4 has removed the standard "hardware" and device options from Simulator. How to open an existing device or create a new device?
Here is the new simulator menu:
In xcode 11.4, Windows > Devices and Simulators, there is no option to launch a simulator.
If you are running your app from Xcode, just select the device for the Active Scheme (top-left):
If not, then search for launch ios simulator from command line
Or, find this option:

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.
It can't be added nor downloaded, as far as I can see. Any ideas?
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
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

Xcode Simulator does not show additionally installed iOS versions

I had crash reports for iOS 11.4.1 on iPhone 8 Plus, so I installed iOS 11.4 by 'Download Simulators' below the iOS Simulator list. It downloaded and shows a green checkmark as installed.
Although my application supports iOS 10.0 (and I can see iOS 10.3.1 for some simulators) iOS 11.4 does not show up for any of the devices. I restarted the application as well.
Anything I'm missing here?
You can add already installed simulator to the list from following option:
Open Similator list (Right side of project name) -> Add additional simulators:
Tap on + add button to add installed simulators to the list
Go for New Scheme option and add a new scheme. You'll find the newly downloaded simulators. Seems like Xcode bug. I just tried the same which worked.

iPhone 4s in Xcode 9.1 with iOS 9 as deployment target

I'm working on a new project having iOS 9 as deployment target in Xcode 9.1. In the simulator I have the iPhone 4s but its iOS version is not displayed. I searched about the support of iOS 9 in this iPhone and I found some answers saying that the iPhone 4s is supporting the iOS 9 and others saying the opposite so I'm confused. At this date, is iOS 9 supported on iPhone 4s?
Yes, iOS 9 is supported on iPhone 4S. but iOS 10 is not supported. Last supported is iOS 9.3.5
You can see the Simulator and iOS in XCode, Window > Devices and Simulator or Cmd+Shift+2.
In the Simulator Tab, you can see the list of simulators. Normally by defaults, iPhone 4S Simulator is installed with iOS 8.1.
If you need to see more iPhone 4S with iOS 9.3 e.g. you can press the '+' on the left below to add more simulators. And check on the 'Show as run destination' to run the app on this simulator in XCode.
If you do not have iOS 9.3 simulator, you can choose the option to download more simulator or do it from XCode > Preferences > Components

how to download iOS 10.3.3 simulator

I wanted to try my app on iPhone 6 with iOS 10.3.3 but I couldn't find iOS 10.3.3 in simulators
any ideas are welcome
Unfortunately you can't download it from this window, as Apple does not release/provides simulator for each version/subversions of iOS.
Here I've simulator list with Xcode 9.3, Component window. It seems apple has not provided simulator for 10.3.3.
You can also add/find a simulator from Xcode Target:
Open simulator list against your Xcode target and Add Additional Simulators...
Switch to Simulators and click on +
Select Device Type, iOS Version and Create simulator.

Resources