Summer Ji Summer Ji - 1 month ago 5
iOS Question

Xcode crashed after close an app in simulator

Using Xcode Version 8.1, swift 3

I am trying to test my app data persistency. So I close the app in the simulator by cmd + shift + H (double tapped), and then slide up the app to close it. But the Xcode crashed with "Thread 1: signal SIGKILL".

How do I close app in the simulator and could still open the app in the simulator after I close it.

Thank you for your helping.

Answer

Xcode is not crashing. Xcode is showing that your app has terminated due to being force terminated by the user. This happens when you force-terminate an app while debugging. This happens in either simulator or with a real device.

Simply tap the "stop" button in the debugger. You can then run the app again like your normally do.