After running bash build-libpcap.sh, bpf.h and if_media.h do not exist;
I modified SDKVERSION = "11.2"
Copy files from the dependencies/include/net directory to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/usr/include/net/
Now I've encountered the error in the picture below。
After running bash build-libpcap.sh, bpf.h and if_media.h do not exist; I modified SDKVERSION = "11.2" Copy files from the dependencies/include/net directory to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk/usr/include/net/ Now I've encountered the error in the picture below。