Hi,
When I'm running the following command from my Mac OS-X 10.11.5 terminal window its working and launching the application on the ios device connected to my computer via USB:
idevicedebug run <installed app>
But When I try to run it from inside python code (using subprocess library) I'm getting:
OSError: [Errno 2] No such file or directory
Or (if shell=True is enabled):
run: idevicedebug: command not found
def run_command(command):
args = shlex.split(command)
p = subprocess.call(args, shell=True) #Falsethe idevicedebug is installed properly and found under /usr/local/bin:
$ locate idevicedebug
/usr/local/Cellar/libimobiledevice/1.2.0/bin/idevicedebug
/usr/local/Cellar/libimobiledevice/1.2.0/bin/idevicedebugserverproxy
/usr/local/Cellar/libimobiledevice/1.2.0/share/man/man1/idevicedebug.1
/usr/local/Cellar/libimobiledevice/1.2.0/share/man/man1/idevicedebugserverproxy.1
/usr/local/bin/idevicedebug
/usr/local/bin/idevicedebugserverproxy
/usr/local/share/man/man1/idevicedebug.1
/usr/local/share/man/man1/idevicedebugserverproxy.1Note:
If I run other system commands (like: ls -l) its working from code, xcrun command is working as well,
The issue is with libimobiledevice commands!
B.R.