Missing header files on macOS Catalina

Solution 1:

you may need to reset the SDK path as its seems it gets wiped out by the upgrade and not reset by xcode install, seems more likely to not be set if youre using zsh.

try:

export SDKROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"