[PLUG] Trying to get my Apple Iphone connected to my linux computer

King Beowulf kingbeowulf at linuxgalaxy.org
Thu Feb 13 06:18:48 UTC 2025


On 2/12/25 20:55, American Citizen wrote:
> I cannot get idevicepair to work, please see
>
>> https://wiki.archlinux.org/title/IOS
> I cannot get the command  idevicepair to work
>
>>      cnf idevice
>> localhost:/ # idevicepair list
>> 2f18f3c102023eac82ed86492318b4a6b941bd17
>> localhost:/ # idevicepair -udid
>> f18f3c102023eac82ed86492318b4a6b941bd17 pair
>> ERROR: Invalid command 'f18f3c102023eac82ed86492318b4a6b941bd17' specified
>> Usage: idevicepair [OPTIONS] COMMAND
> Surely this should be so hard to do???
>
> My Apple Iphone 14 ISO 18.3 DOES recognize when the USB cable is plugged
> in and asks me to trust or not.
>
> I hit trust.
>
> But I cannot get beyond the pairing stage

Maybe check the command syntax and read the instructions again?  The 
error message is clear enough: invalid command.

If you only have ONE (1) iOS device attached, you do not have to specify 
the UDID:

$ idevicepair pair

but if you want or need to specify UDID, then make sure you do it correctly:

$ idevicepair --help
Usage: idevicepair [OPTIONS] COMMAND

Manage host pairings with devices and usbmuxd.

Where COMMAND is one of:
   systembuid   print the system buid of the usbmuxd host
   hostid       print the host id for target device
   pair         pair device with this host
   validate     validate if device is paired with this host
   unpair       unpair device with this host
   list         list devices paired with this host

The following OPTIONS are accepted:
   -u, --udid UDID  target specific device by UDID  <--- *** this one ***
   -d, --debug      enable communication debugging
   -h, --help       prints usage information
   -v, --version    prints version information

and thus

$ idevicepair --udid <UDID> pair

OR

$ idevicepair -u <UDID> pair

-ed






More information about the PLUG mailing list