LinuxCommandLibrary

idevicesetlocation

sets or resets simulated GPS location on iOS devices

TLDR

Set device location

$ idevicesetlocation -- [latitude] [longitude]
copy
Reset to actual location
$ idevicesetlocation reset
copy
Target specific device
$ idevicesetlocation -u [device-udid] -- [37.7749] [-122.4194]
copy

SYNOPSIS

idevicesetlocation [options] [-- lat lon | reset]

DESCRIPTION

idevicesetlocation sets or resets simulated GPS location on iOS devices. Part of the libimobiledevice suite. Requires Developer Disk Image to be mounted. Use reset to return to actual GPS location. Use -- before coordinates when longitude is negative.

PARAMETERS

-u udid

Target specific device.
-n
Connect over network.
--
Separator before coordinates (required for negative values).

CAVEATS

Requires Developer Disk Image mounted via ideviceimagemounter.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community