imkira/mobiledevice

mobiledevice only works intermittently

kdkanda opened this issue · 3 comments

Mac mini Server (Mid 2010)
OS Version 10.10.2 (14C1510)

:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
791c6d8ed305849fdae50be63a6560XXXXXXXXXX
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
791c6d8ed305849fdae50be63a6560XXXXXXXXXX
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices
:local builder$ mobiledevice list_devices

Good catch.
Can you try running that again but this time with

mobiledevice list_devices -t 1000

Adding -t solved the issue . Really appreciate your effort on this project .

No problem. Let me know if something else comes by. I am wondering wether the default timeout should be increased. Unfortunately the API is asynchronous and there is no "finished listing devices" event coming.