frida / frida-gum

Cross-platform instrumentation and introspection library written in C
https://frida.re
Other
745 stars 244 forks source link

Compiler error: Use of 'bpf_insn' with tag type that does not match previous declaration #678

Open briankendall opened 2 years ago

briankendall commented 2 years ago

Including frida-gum.h in Xcode 14 running in macOS Ventura beta 8 results in this error:

frida-gum.h:46026:9: error build: Use of 'bpf_insn' with tag type that does not match previous declaration

bpf_insn is already declared as a struct in /usr/include/net/bpf.h line 1177.

Using frida-gum-devkit-15.2.2-macos-arm64e

briankendall commented 1 year ago

Still getting this with frida-gum 16.0.19.

t0rr3sp3dr0 commented 5 months ago

Just faced this issue in version 16.2.1 with Xcode 15