frida / frida-swift Goto Github PK
View Code? Open in Web Editor NEWFrida Swift bindings
License: Other
Frida Swift bindings
License: Other
I'm attempting to add Frida.framework
(generated from this project) to another framework and I am receiving the following error:
Missing required module 'CFrida'
From Xcode, it appears thats Frida can be properly imported but then I receive the above error.
Let me know if this is not a bug and I can remove this issue. Thanks!
private static let gvariantVarDictType = g_variant_type_new("a{sv}")
fix
private static let gvariantVarDictType = g_variant_type_new("{sv}")
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:
Build started at 2020-03-24T22:47:17.817773
Main binary: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
Python system: Darwin
The Meson build system
Version: 0.49.2
Source dir: /Users/kevin/Desktop/frida/frida-gum
Build dir: /Users/kevin/Desktop/frida/build/tmp-macos-x86/frida-gum
Build type: cross build
Project name: frida-gum
Project version: 1.0.0
Sanity testing C compiler: /Users/kevin/Desktop/frida/build/frida-macos-x86_64-clang
Is cross compiler: False.
Sanity check compiler command line: /Users/kevin/Desktop/frida/build/frida-macos-x86_64-clang /Users/kevin/Desktop/frida/build/tmp-macos-x86/frida-gum/meson-private/sanitycheckc.c -o /Users/kevin/Desktop/frida/build/tmp-macos-x86/frida-gum/meson-private/sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /Users/kevin/Desktop/frida/build/tmp-macos-x86/frida-gum/meson-private/sanitycheckc.exe
Appending CFLAGS from environment: '-fPIC '
Appending LDFLAGS from environment: '-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -Wl,-dead_strip -L/Users/kevin/Desktop/frida/build/frida-macos-x86_64/lib -L/Users/kevin/Desktop/frida/build/sdk-macos-x86_64/lib'
Appending CPPFLAGS from environment: '-include /Users/kevin/Desktop/frida/build/frida-version.h -mmacosx-version-min=10.9 -I/Users/kevin/Desktop/frida/build/frida-macos-x86_64/include -I/Users/kevin/Desktop/frida/build/sdk-macos-x86_64/include'
Sanity testing C compiler: /Users/kevin/Desktop/frida/build/frida-macos-x86-clang
Is cross compiler: True.
Sanity check compiler command line: /Users/kevin/Desktop/frida/build/frida-macos-x86-clang -mmacosx-version-min=10.9 -I/Users/kevin/Desktop/frida/build/frida-macos-x86/include -I/Users/kevin/Desktop/frida/build/sdk-macos-x86/include -include /Users/kevin/Desktop/frida/build/frida-version.h -mmacosx-version-min=10.9 -Wl,-dead_strip -L/Users/kevin/Desktop/frida/build/frida-macos-x86/lib -L/Users/kevin/Desktop/frida/build/sdk-macos-x86/lib /Users/kevin/Desktop/frida/build/tmp-macos-x86/frida-gum/meson-private/sanitycheckc.c -o /Users/kevin/Desktop/frida/build/tmp-macos-x86/frida-gum/meson-private/sanitycheckc_cross.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libSystem.tbd
ld: dynamic main executables must link with libSystem.dylib for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-----
meson.build:1:0: ERROR: Compiler /Users/kevin/Desktop/frida/build/frida-macos-x86-clang can not compile programs.
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.
Built for ios
make core-ios-thin
Then generated devkit
./releng/devkit.py -t frida-core ios-arm64 ./frida-swift/CFrida-ios/ios-arm64/
Added an iOS target and linked with iOS lib
Had to remove the APIs which used NSImage
Ran into issues with linked now:
Undefined symbols for architecture arm64:
"_res_9_dn_expand", referenced from:
_do_lookup_records in libfrida-core.a(gthreadedresolver.c.o)
"_res_9_ninit", referenced from:
_do_lookup_records in libfrida-core.a(gthreadedresolver.c.o)
"_res_9_nquery", referenced from:
_do_lookup_records in libfrida-core.a(gthreadedresolver.c.o)
"_res_9_ndestroy", referenced from:
_do_lookup_records in libfrida-core.a(gthreadedresolver.c.o)
"_res_9_init", referenced from:
_g_resolver_maybe_reload in libfrida-core.a(gresolver.c.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Am I missing something?
I have clonned frida
recursive, and I try to build frida-swift
I run:
make core-macos-thin
as pointed in README
But I get:
make[1]: *** No rule to make target `core-macos-thin'. Stop.
make: *** [core-macos-thin] Error 2
At the root of the directory make core-macos
results in make: *** No rule to make target
core-macos'. Stop.`. Is the readme instructions still up to date or is the Makefile missing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.