If you are using Apple’s LLVM compiler and their Reachability.h file you may be getting warnings like this:
Reachability.h: warning: Semantic Issue: Declaration of ‘struct sockaddr_in’ will not be visible outside of this function
Luckily, there is a quick way to fix this. Simply add this import line to the includes section of the Reachability.h file:
Bam! Warnings gone. Hope this helps all you app developers using Apple’s latest preview releases that technically don’t exist because mentioning they exist would be against the Apple-Developer confidentiality agreement. ;)


