Thread1: signal SIGTERM (in swift) when changing hardware in IOS simulator

ReneMusters picture ReneMusters · Jan 8, 2015 · Viewed 15.9k times · Source

My swift application is set for certain IOS device, and runs fine in IOS simulator,

However, when changing hardware in IOS simulator, I get the error in swift Thread1: signal SIGTERM.

I can set swift for IOS device iPhone 6, IOS simulator runs iPhone 6, but can't change to other hardware (such as iPhone 4S). I can set swift for IOS device iPhone 4S, and IOS simulator runs fine for iPhone 4S, but get the error when changing hardware (such as iPhone 6 which worked fine before).

Therefore, I am pretty sure the swift application logic is correct.

How can I solve this?

Answer

Jeremy Huddleston Sequoia picture Jeremy Huddleston Sequoia · Jan 9, 2015

This is expected behavior. There is nothing to "solve". Your app is correctly being sent SIGTERM because you requested to shutdown the running device and boot a new one (which will terminate all running processes in the existing device).