Simulators vanished from Xcode - ios

I just reopened Xcode and now I only see 6s simulators. All the others have just disappeared. How do I add them back ?
EDIT :
Silly me ,I missed that the scheme and target somehow changed to Apple Watch and I didn't notice. Should I delete this question :P .

Open Xcode, click on 'Xcode' in top left of the screen, select 'Preferences...', once a separate window opens up click on the 2nd last tab called 'Downloads'. Inside, check the installed components.
If you deleted any previously installed simulators, then you should be able to re-download them here.

check whether simulators are installed or not by preferences section in xcode. Or it might just be glitch. Restart your computer and Xcode

Just go to Xcode -> window -> devices
follow this steps
1)
2) select the devices options, you will be able to see this screen
3) click on add button. and add the simulator you want like this

Related

Downloaded Xcode 13.4.1 and don't see any simulators

I downloaded Xcode version 13.4.1. I went to Xcode -> Preferences -> Components. I don't see any simulators listed.
From what I've seen and read this is how you pick the simulator to use. Trying to debug an issue with IPhone 13 and Safari.
How to I get the list of simulators to show up? Do I need to down load them? And if I do how do I do that? I must be missing something. Any help would be appreciated.
To add a new simulator:
Go to "Add Additional Simulators" from Product -> Destination -> Add Additional Simulators.
Go to the "Simulators" panel, and from the left menu, click on the [+] icon at the bottom.
create a new simulator by choosing the device and the iOS version that suits your needs
the function Download simulator runtimes is missed
Download Simulator

app not seen in "choose an app to run" dropdown menu xcode run project

app not seen in "choose an app to run" dropdown menu xcode run project
This is for ObjC/Swift project on simulator run.
DerivedData, Logs and Support folders are deleted from Xcode
I got a new MacBook and downloaded the current Xcode version 14.1. For some strange reason an app named DanceOff that I had been using for yrs on my previous MacBook with Xcode 12.4 was no longer able to run on my new MacBook. It turns out the scheme was missing (not sure why). To fix it:
1- At the top of your Xcode project, click the top where the red arrow is pointing in the picture.
Notice in the dropdown there are only 2 things showing for RichNotifications...
2- Click Manage Schemes
When the popup window appears scroll to the bottom, notice there isn't a check next to danceoff (this is my main target). This is what caused my problem.
I had to check it, then selected Close.
Go back to step 1 again, but this time it will appear in the drop down
I just scrolled to danceoff and clicked on it
Now my app runs fine.

Xcode 7.2.1 only shows 'Generic Device' when I want to run my app, instead of the list of iPhones and iPads

I am a beginner in Xcode and I just updated it to 7.2.1. Before I did this I never had a problem with running my app, but now it only shows me 'Generic Device', instead of the regular simulators I use. Anyone know how I can solve this?
Sure, you can add any simulator you like. Just open Xcode and under the "Window" menu, click "Devices".
Then, you can click the little plus in the lower left to add a Simulator.
Just select the one you want, and name it, and you should be all set!
You may also need to actually download the simulators, if for some reason they're no longer on your computer. Go to the Xcode preferences, and then in the downloads tab you'll see simulators listed.

Updated to XCode 6, now other simulator destinations do not show up

Just updated to Xcode 6, midway through working on a project. Now the only destination that comes up is my own iPhone, which is annoying as I would rather prefer a simulator.
I've already tried messing with the schemes as suggested by other answers and restarted my computer, any ideas?
First, you have to download other iOS versions as owenfi suggested, however that is not all.
If you want the simulators to show up in the scheme menu/popup, then you also have to open Devices menu (Cmd + Shift + 2 or Window/Devices) and add the required simulators. You can choose between all devices and the iOS versions you've downloaded. Have a look on the screenshot below.
Download support for additional simulators in Xcode Preferences > Downloads.
I never understood but after some installation they don't show up. One easy way is create them in the devices window. Open xcode go into Window then devices, press the plus button at the bottom left and create yours.
Changing Deployment Target worked for me..

iOS simulator issue

I downloaded xcode 4 and created a single view application with storyboard.
I added two views to the segue and tied them back to the home screen. After that I must have done something weird. The only thing I can think of is that I put the iOS simulator on the dock. I've updated the project and the changes are not being reflected on the simulator.
What I think is the issue is that I have two iOS simulators on the computer. For some reason whenever I try to find one in spotlight or in the applications it only shows one. When I click on it it is the old iOS simulator from Xcode 3. So what I did was I looked at stackoverflow and it suggested cleaning and running the project. That did not work.
After that I looked harder and found that I should reset content and settings on my new iOS simulator. That's what I did and now when I build and run it it is saying that it can't find my storyboard.
Generally you don't run simulator separately, but let Xcode fire it up for you. So, in Xcode, in the upper left corner you can select your scheme (and you select whether you want it on the simulator or the device). You can then select the simulator and then press the "Run" button and it should fire up the simulator for you. No need to fire the simulator up separately.
If Xcode is not behaving well (i.e. there are no error messages but the simulator never comes up automatically when you tell Xcode to run it on you simulator), I'd suggest (a) quitting and restarting Xcode (sometimes it gets in a weird state); (b) cleaning your project; and (c) try running it again.
In terms of not finding the simulator in Spotlight, it's now part of the Xcode.app bundle, so Spotlight won't find it. But if you want to dock it (not sure why, but feel free), just fire it up from Xcode by running an app on the simulator and when it appears in your dock, control-click on it and select "Options > Keep in Dock".

Resources