"Simulator in use" error message is displayed even after not working
Whenever I try to launch the application from Xcode, the error message appears:
This happens even if the simulator is not working. I forcefully exit the simulator process from Activity Monitor, but it shows this message over and over again.
If I leave and close Xcode again, it works without error, but is there any solution other than closing Xcode?
Specifications:
Most of the answers show me that you need to quit Xcode or restart Xcode. If there is a scenario where you are in the middle of a difficult situation (e.g. undo and redo code). In this situation, if you close Xcode, you won't be able to undo the most recently modified code (let alone commit SVN). So, I would like to know how to resolve it with Xcode closing.
I am running Xcode 5.1.1 (5B1008) on OS X 10.9.2
source to share
Finally, I found solutions for the above problem:
There are two solutions:
First: a simple solution
This happens when you have multiple instances of Xcode. Check all instances of Xcode, one of which shows the project progress (even if your simulator is close). Click the Stop button of this Xcode instance to resolve this issue.
AGAIN!! You don't need to close Xcode.
Second: hard one decision
If the first solution doesn't work, how should this solution be followed.
Activity monitor, not showing any simulator process, is running. However, the message shows "Simulator in use".
Its true simulator process is not in memory, but another application uses it.
As in my case, I use to open many instances of Xcode. So there are examples of your application and another demo application or third party application.
So, I found that one of the third party applications uses the simulator even though the simulator is " quit ". That's why he goes on to say that "a strong simulator to use". Shown below.
The process is AMSlideMenu
used to be managed by a third party (I mean its Xcode instance is running). I just stopped this process and the message won't appear again.
I am not saying that this is a question from AMSlideMenu
. This is a problem from the Xcode environment. Sometimes one of its instances supports the simulator process, even if we exit the Simulator.
Hope this helps anyone who is still facing this kind of problem and doesn't want to leave Xcode to deal with this problem (because you are in the middle of something and it is impossible to exit Xcode at this time) .: )
source to share