LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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 the simulated GPS location reported by an iOS device, useful for testing location-aware apps. It is part of the libimobiledevice suite and communicates with the device's developer services.Pass `reset` instead of coordinates to clear the simulated location and resume real GPS reporting. Coordinates are decimal degrees: positive for north/east, negative for south/west.

PARAMETERS

-u udid, --udid udid

Target a specific device by its UDID.
-n, --network
Connect to the device over the network instead of USB.
-d, --debug
Enable verbose debug output.
-h, --help
Display help information.
--
Separator before positional coordinates (required when longitude is negative so the leading minus is not parsed as an option).

INSTALL

sudo apt install libimobiledevice-utils
copy
sudo dnf install libimobiledevice-utils
copy
sudo apk add libimobiledevice-progs
copy

CAVEATS

Requires the Developer Disk Image (or, on iOS 17+, a Developer Mode tunnel) to be mounted on the target device — typically via ideviceimagemounter. The simulated location persists until the device is rebooted or reset is invoked.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid