在使用frida从事iOS逆向分析时,要保证mac端frida和iPhone端frida版本保持一致,否则无法连接使用。
查看当前mac端frida的版本是:15.1.14
iPhone端的frida版本是:16.07
当版本不一致时,在mac端使用frida调用iPhone的frida报错:
Failed to enumerate applications: 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.
解决方式:
方式1:更新mac端的frida为16.0.7版本
或
方式2:在iPhone端安装低版本的frida
这里测试方式2:
在 github.com/frida/frida… 下载低版本的iPhone版的frida,我们此处选择下载15.2.2版本(虽然mac端frida的版本是15.1.14):
在iPhone安装frida:
此时,Mac端和iPhone端的frida都是15版本,可正常运行。