iPhone Simulator Can't Be Lauched?

2019-06-14 21:00发布

When I press Run on Xcode with other tasks already running, the following message appears:

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

I checked with some friends and when they press run, Xcode automatically stop the tasks running and run the app you want. How can I configure this here?

Thanks in advance,

14条回答
倾城 Initia
2楼-- · 2019-06-14 22:00

There are three solutions for this issue:

  1. Right click the simulator on the Doc, quit and then re-run the application from the Xcode.

If this did not work, then -

  1. Save your code, Right click the Xcode, restart the Xcode with your project and then run again. Remember to select simulator instead of device in the target.

If this also did not work, then,

  1. Force Close - Simulator/Xcode - Restart your mac and then run Xcode again.

Most likely - the first step would be enough!!!

查看更多
时光不老,我们不散
3楼-- · 2019-06-14 22:02

Quit the simulator and try again.

查看更多
登录 后发表回答