I recently bought a new MacBook on which I transferred my old session. Since then, and after i upgraded to 10.13, i can\'t get clang to compile anything including only iostr
I had the same issue after upgrading to MacOS Mojave 10.14.4 and Xcode 10.2
The issue got resolved, after installing the package /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg