Summer Ji Summer Ji - 3 days ago 6
iOS Question

Xcode crashed after closing app in simulator

Using Xcode Version 8.1, Swift 3

I am trying to test my app's data persistence. So I close the app in the simulator by ++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 can still open the app in the simulator after I close it.

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.

Comments