sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.5k stars 855 forks source link

Objection explore frida.Protocol error #123

Closed aaisha79 closed 6 years ago

aaisha79 commented 6 years ago

I have just patched an IPA and I'm trying to run it using objection explore, however I got the following error:

frida.ProtocolError: unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use

I have done a pip install frida --upgrade but still facing the same error any ideas?

leonjza commented 6 years ago

This error is definitely because the version of the Gadget and the version of the python frida/frida-tools don't match at least their major versions, ie: v12 clients trying to connect to a v11 Gadget / server. The only thing I can suggest is to make sure you have latest Gadget downloaded (patch the IPA with an internet connected machine) and make sure you have the correct python environment where Frida is installed activated.

aaisha79 commented 6 years ago

Hi @leonjza

Thanks for the response, I have frida client version 12.0.8 & Python version 3.6.5.... I am downloading v11 of fridgadget on a internet connected Mac...

leonjza commented 6 years ago

You will need version 12 of the Gadget.