simctl_location
Set or clear simulated GPS coordinates on iOS Simulator devices for testing location-based app features.
Instructions
Set or clear the simulated GPS location on a simulator
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device UDID, name, or "booted" | |
| action | Yes | Action to perform: set a location or clear it | |
| latitude | No | Latitude coordinate (required when action is "set") | |
| longitude | No | Longitude coordinate (required when action is "set") |