I installed over brew.sh libpcap (bundle of h.files). I tried to compile a simple c.file and after that I deleted libpcap over brew.sh again.
My Problem is, after I compiled the c.file, Xcode included the library in his own system library. So even if I uninstalled libpcap over brew.sh it exists in Xcode.
Do you know, how I could delete all the related .h files?
There is a libpcap and header files in the standard system libraries (located in Xcode.app/Contents/Developer/...). These are the pcap files being referenced in Xcode after you deleted the versions from brew.
Do you mean, that Xcode doas already have the pcap files. Even if I would not installed libpcap over brew.sh?