Shutdown Simulator
simctl-shutdownShut down iOS simulator devices by UDID, all booted, or all devices, with clear feedback for already shutdown or failed shutdowns.
Instructions
simctl-shutdown
Shutdown iOS simulator devices with intelligent device management.
Overview
Gracefully shuts down one or more iOS simulator devices. Supports shutting down specific devices, all currently booted devices, or all devices at once with smart targeting options. Better error handling with clear feedback when devices cannot be shut down.
Parameters
Required
deviceId (string): Device UDID, "booted" for all booted devices, or "all" for all devices
Returns
Shutdown status with device information, duration, success indicator, command output, and next step guidance. Handles common scenarios like device already shutdown gracefully.
Examples
Shutdown specific device
await simctlShutdownTool({ deviceId: 'ABC-123-DEF' });Shutdown all booted devices
await simctlShutdownTool({ deviceId: 'booted' });Shutdown all devices
await simctlShutdownTool({ deviceId: 'all' });Related Tools
simctl-boot: Boot device after shutdown
simctl-list: Find device UDID to shutdown
simctl-delete: Delete device after shutdown (required for deletion)
Notes
Smart device targeting: "booted", "all", or specific UDID
Graceful shutdown operation
Handles "already shutdown" scenario without error
State tracking updates internal device state for better recommendations
Batch operations efficiently handle multiple device shutdowns
Required before device deletion (safety check)
Use "booted" to quickly shutdown all running simulators
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes |