This adds a shutdown-simulators command to stop simulators that you've booted. This releases resources held by the simulators and lets you delete the deviceset directory (otherwise, the running simulators will keep writing files there and recreate it.
Context: I'm wanting to run multiple sets of tests in parallel on a single host. Each test run has a unique directory for deviceset, and I need the simulators to shut down after every run or else a few test runs seems to exhaust system resources and my Mac beachballs until force rebooted.
This adds a
shutdown-simulators
command to stop simulators that you've booted. This releases resources held by the simulators and lets you delete thedeviceset
directory (otherwise, the running simulators will keep writing files there and recreate it.Context: I'm wanting to run multiple sets of tests in parallel on a single host. Each test run has a unique directory for deviceset, and I need the simulators to shut down after every run or else a few test runs seems to exhaust system resources and my Mac beachballs until force rebooted.