[ Documentation ]
peach location

peach location

Read, set, or clear the device’s one simulated location — the simctl location equivalent. It feeds every app through the host-service geolocation seam and never reads the host Mac’s real position. clear returns the device to iOS’s own default location; set is read immediately by getCurrentPosition and by every active watchPosition subscriber.

terminal
peach location get [--json]
peach location set <lat>,<lon> [options]
peach location clear

Options

flagdescription
--altitude <m>meters above sea level
--accuracy <m>horizontal accuracy in meters
--heading <deg>course in degrees, 0-359.9, relative to true north
--speed <m/s>ground speed in meters per second
--jsonemit structured JSON
--sim <id>target a specific connected sim
--port <number>bridge port (defaults to 7668)

Examples

terminal
peach location set 37.785834,-122.406417
peach location set 40.748817,-73.985428 --accuracy 10
peach location get
peach location clear