frida / frida-python

Frida Python bindings
Other
781 stars 146 forks source link

frida.NotSupportedError: failed to get the task for process xxx #172

Open aaisha79 opened 4 years ago

aaisha79 commented 4 years ago

Hey guys

Hopefully one of you guys can help me out here:

I am trying the following, in a test.py file:

import frida

device = frida.get_usb_device() pid = device.spawn(["com.xx.xxx.xxxxx"])

However it fails with the following error:

Traceback (most recent call last): File "test.py", line 4, in pid = device.spawn(["com.xxx.xxx.xxxx"]) File "/usr/local/lib/python3.8/site-packages/frida/core.py", line 26, in wrapper return f(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/frida/core.py", line 140, in spawn return self._impl.spawn(program, argv, envp, env, cwd, stdio, aux_options) frida.NotSupportedError: failed to get the task for process 823

I am running Frida version 12.11.17 on both my mac and JB iOS device (JB'd using checkra1n)

Thanks