MCMatan
MCMatan

Reputation: 8863

The Simulator can't be launched because it is already in use. Every run

I know this is an issue that was already discussed here many times before, But there is now solution for my problem and its really serious.

Every second time I try to run the simulator i get get this bothering message:

"The Simulator can't be launched because it is already in use."

Closing the simulator does not help.

I need to quit Xcode every single time this happens!

I trying restarting my computer several times.

Please help me, I find my self restarting Xcode 50 times a day. This is totally frustrating.

Upvotes: 2

Views: 4169

Answers (4)

Jeremie D
Jeremie D

Reputation: 4204

Solution that seems to be working :

  • double press CMD+Shift+H (in simulator )
  • close All other apps on sim.

Works for me. Let me know!:)

Upvotes: 0

Muhammed Ayaz
Muhammed Ayaz

Reputation: 1398

I think it a bug in Xcode 5.1. Update your Xcode and it will resolve your issue

and i use this solution for this issue. "Close all application from background and then run"

To close application from background use

Select simulator then press "Ctrl+Shift+H+H" So it open background task screen in this close all application from background and then run your application from Xcode.

i hope this will solve you lots of time of restarting the Xcode.

Upvotes: 0

if0xx
if0xx

Reputation: 21

I had the same issue. Turned out that the developer tools path was set to a different location than the Xcode I was using. So check with

xcode-select -p

that your dev tools path is set correctly. If not, fix with

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

if you're using the current AppStore version of Xcode (or the appropriate path to your alternate Xcode).

Upvotes: 1

Rivas
Rivas

Reputation: 39

Very simple, to avoid further problems we will do "complete" procedure.

On iOS Simulator, you must force quit.

In Xcode, press COMMAND + SHIFT + "K" (letter k) keys; to empty the cache of the application and ensure that all works out.

On then quit Xcode (I recommend that you restart your Mac after this procedure done, if the problem persists) Good luck

Upvotes: 3

Related Questions