Xcode 14.2 no additional simulators - ios

I'm trying to add additional device simulator. Product -> Destination -> Add additional simulators window on Xcode. But after adding it to a list of available simulators, it's not appearing in the list of available devices to build.
Show as run destination is checked.
After clean installing Xcode 14.2, only iPhone 14 simulators are available.
I've tried re-adding several times with different iOS versions on different devices.
I also followed this thread and delete all available simulators, as someone suggested. Now I have 0 in a list of devices to build.

I had the exact same problem with XCode 14.2 and adding iPhone XR, I went to the Project Navigator pane, selected the top line and on the right side window the Project settings appear. I went to the Minimum Deployments section and selected the lowest IOS version I was working with. In my case I had downloaded and installed iOS 15.5. After that, the IOS simulator list updated with all the simulators Listed in the Devices and Simulators where the "Show as Run Destination" was selected for a given simulator.
Hope this helps...

Related

Simulator don't appearing in the list of available devices

I am need test project on older device iPhone 7 and 6 but I can't add simulator for running. I am open list of iOS Simulator press "Add Additional Simulator..." and I am selected device which I am want, but how Run this device if I am show this simulator after closing window.List of simulator
It's problem just fixed after one week without my manipulation, xcode updated and problem disappear.

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.

How to set default simulator device in Xcode 10 which is used for new projects [duplicate]

I've been making a ton of new projects as I'm learning Swift. My development is all on my laptop, so I hate using the default 6s Plus simulator, since the window is too big to easily see. Is there a way to change the default simulator to be a different one for new projects?
No need to delete simulators!
Product → Destination → Add Additional Simulators...
In the sidebar, select the simulator you want to hide
Uncheck "Show as run destination"
Edit: Updated for Xcode 10
You can select the desired simulator via the Hardware > Device > [OS] menu (Xcode 9):
While unchecking "Show as run destination" hides the simulator, this will also change the default value.
Updated image for Xcode 11.5
Xcode 9 UPDATE:
In Xcode 9, no need to delete simulators, and the way to turn them on/off is to go in Product/Destination/Add Additional Simulators... select the simulator you want to turn off, then uncheck the box: 'Show as run destination'
No. But...
If you don't like the size of the 6s plus simulator, make it smaller with the simulator Window Scale menu.
If you don't like the 6s plus simulator at all, delete it with the Xcode Window Devices menu.
Xcode 12.5
In Xcode, go to Product -> Destination -> Choose Destination menu and selecting the device you'd like to be your default.
The original answer could be found in apple support forum here: Apple support forum,
In addition if you want to make the device smaller just hover over bottom right corner of the simulator and you will see the resize option
Deleting the simulators you don't want will default you to the simulator you do want. I also develop on my laptop and the biggest simulator I can see w/o scaling down is the 4S, so I deleted simulators for iPhone 5 and above and now every project I create defaults to 4S simulator. If I ever need the newer simulators, I will just re-download.
In my case, just select the device in Product → Destination, Xcode 12.4
Xcode version 11.5
On Simulator > File > Open Device > iOS 13.5 > Change the default Simulator
Xcode(v11.5)
open your simulator, choose **File/Open Device/iOS 13.5/iPhone8 ** will change your simulator device to iPhone 8.
When you reopen your simulator, iPhone 8 will be your device simulator.

iOS simulator version

I tried Appium iOS tutorial and ran the example successfully. I noticed the UICatalog6.1.app runs on iOS simulator with title "iPhone 6/iOS 8.2" on the top of the simulator.
However the title is "iPhone 6/iOS 9.0" when I run the app developed by myself from Xcode. I am wondering which part controls to use different version of iOS simulator?
When you install Xcode, you automatically get the most recent version of the simulators. However, if you would like to define additional simulators with older iOS versions, you can.
In Xcode, go to Window (on the tool bar), and select Devices. There, you can see a list of all of your current devices and all of your currently setup simulators. If you click the plus on the lower left corner of the screen, you'll get to this screen:
Here, you can select the device you'd like to use for the simulator and its iOS version. By default, you'll only have the most recent version of iOS, but if you'd like to add older versions, just select 'Download more simulators' and you'll be given the option to download older versions and use them for testing.
Once you've set up the new simulator, you'll be able to select it from the list of available devices to run your app on. Good Luck!

How can I choose an iOS simulator as the destination in Xcode?

I am an iOS noob. I had a project running on the iPhone simulator in Xcode 4.4. To resolve a different issue, I un-installed 4.4 and then installed 4.5.1. Now when I try to run my project on the simulator I get an error "Xcode cannot run using the selected device: No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination."
How do I choose an iOS simulator as the destination?
Where do I click?
There should be a menu in the top left region of the toolbar section of the IDE. It should have a run button, a stop button, and then the name of your app and a label saying IOS Device. Click view-->show toolbar if you don't see it. Click on IOS Device and you should get a drop down menu of devices. The simulator should be in that list.
This should do it, its very simple actually
Just in case anyone finds this helpful --
Sometimes your version of xCode doesn't support the deployment targets.
My iOS simulator did not show up as a destination until I set the deployment target down to 7.0 (it seems like 7.1 may not be supported by xCode 5.0, but only 5.1 [not confirmed]).
Hope that helps if anyone stumbles across it.
For me the problem was that the selection in the toolbar only shows up for a certain width of the XCode window
I was able to add devices to the Simulators list by clicking on Window->Devices (Shift+Command+2), and clicking on the + at the bottom left to add Simulators.
After you click on Create, the device(s) will show up
Make sure to set Supported Platforms correctly
I had the same issue. The simulator would run a different device than chosen in the size field under "Simulated Matrix".
I dug around and found in Xcode's menu: Product/Destination. screenshot I was then able to run the simulator for the correct size.
Hope this helps !!

Resources