Closed klmitchell2 closed 4 years ago
Hey,
Running make core-macos
will build Frida with support for cross-architecture injection, to also be able to attach()
to 32-bit x86 processes and not just 64-bit processes. However, Xcode 9 is the last version of Xcode that's able to build 32-bit macOS binaries. And, Xcode 9 doesn't run on Catalina (at least not without hacks), so you will need a Mojave system to run it on.
However, if you don't care about being able to attach to 32-bit processes, you can do make core-macos-thin
and add -t
when running devkit.py
.
Cheers!
Thanks for the help with that, that seemed to work. I have the following output in my build
folder now:
When running devkit.py
I am unsure what I should include as arguments
README directions: ./releng/devkit.py -t frida-core macos-x86_64 ./frida-swift/CFrida/macos-x86_64/
Should macOS-x86_64
be a file that was generated in the /builds
folder?
When running devkit.py I am unsure what I should include as arguments
The example in the README is the way to go.
Should macOS-x86_64 be a file that was generated in the /builds folder?
No, not the whole name – it's just the <os>-<arch>
part. It should be macos-x86_64
.
Thanks for your help!
Hello,
To start I can close this ticket in favor of making an issue within the Frida repo instead.
I am attempting to follow the install directions and I have encountered this error when running
make core-macos
I have also followed the instructions outlined in here: https://github.com/frida/frida/blob/master/README.md#macos-and-ios
meson.build:1:0: ERROR: Compiler /Users/kevin/Desktop/frida/build/frida-macos-x86-clang can not compile programs.
A full log can be found at /Users/kevin/Desktop/frida/build/tmp-macos-x86/frida-gum/meson-logs/meson-log.txt make[1]: [build/frida-macos-x86/lib/pkgconfig/frida-gum-1.0.pc] Error 1 make: [core-macos] Error 2
Here is the output of meson-log.txt:
Thanks for any help that can be provided. I'd love to include this in my project, but just having a hard time getting set up.