Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS simulator is not launching

I am facing this problem again and again. Anybody can give the solution to this problem except reboot the Mac?

I have already tried these tricks

  1. simulator-->services-->a reset content and settings,
    closing xcode and re-opening
    xcode --> developer toos --> simulator -->(open the simulator),
    quit simulator Activity monitor -->(the simulator is closed so nothing here to force close)

First of all quit your simulator.
And then quit and restart Xcode.
And then run your project.

  1. Restart xcode and the simulator
like image 943
nitin.agam Avatar asked Mar 27 '15 08:03

nitin.agam


People also ask

How do I open iOS simulator?

The basic way to open a list of simulators is to use Xcode -> Window -> Devices and Simulators. Here you can create and manage all available simulators.

Can we run iOS simulator without Xcode?

You would have to extract the Simulator pkg from the Xcode DMG. The only thing is that the Simulator depends on having an SDK installed, that way it knows which iOS to run the app in.


1 Answers

I also have this issue and googled this, which redirect to this question. Mine was xcode10 What i have done is as follows

  1. Quit the simulator & Xcode.
  2. Opened Activity monitor, selected cpu option and search for sim, killing all the process shown as result.
  3. Then fired up the terminal and run sudo xcrun simctl erase all. It will delete all content of all simulators. By content if you logged in somewhere password will be gone, all developer apps installed in that simulator will be gone.

Doing these resolved my issue. Hope it helps.

like image 141
Ratul Sharker Avatar answered Sep 23 '22 17:09

Ratul Sharker