xcode_set_simulator_location
Set GPS coordinates for iOS simulators in Appium automation tests to simulate location-based app functionality.
Instructions
Set the location of a simulator
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"udid": "<udid>",
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "xcode_set_simulator_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | The UDID of the simulator | |
| latitude | Yes | Latitude coordinate | |
| longitude | Yes | Longitude coordinate |