Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When I try to run the Xcode simulator I get the error 'Stop “(null)”?'

I just updated to Xcode 7 and ran an app on a live device. Now for some reason, I get an error when I try to run an app in a simulator.

Stop “(null)”?  An instance of “(null)” is already running. Choose “Stop” to terminate and launch a new instance. 

Image of the error pop-up in Xcode

When I press the stop button it grays out, as in the screen shot, but nothing happens. I have tried resetting the content and settings on the simulator, but that didn't help.

like image 787
Caleb Kleveter Avatar asked Sep 21 '15 16:09

Caleb Kleveter


People also ask

How do I enable simulator in Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download.

How do I run Xcode simulator on Mac?

Choose Xcode > Open Developer Tool > Simulator. Control-click the Xcode icon in the Dock, and from the shortcut menu, choose Open Developer Tool > Simulator.

Can you run iOS simulator without Xcode?

Now with new Xcode if the icon of the Xcode is on dock you can just right click it and form the menu you can select Open Developer Tool and in the sub menu you can select the iOS Simulator to open the simulator without opening the Xcode.!


2 Answers

Getting this as well with Xcode 7.

I've been following these simple steps to avoid seeing the error:

  1. Build your app.
  2. Run your app.

Annoying, and not a solution, but I think this is a bug within Xcode 7.

like image 84
joels Avatar answered Oct 05 '22 23:10

joels


Completely quitting Xcode 7 and reloading resolved the simulator is already running it for me.

like image 40
Manesh Avatar answered Oct 06 '22 00:10

Manesh