Maybe #1245 has your solution? Was having similar issues and that sorted it for me.
My steps:
brew uninstall binutilsxcode-select --install didn't do the magic for me)sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / after installing command line tools, per Common Build Problems Worked a treat.
Most helpful comment
Maybe #1245 has your solution? Was having similar issues and that sorted it for me.
My steps:
brew uninstall binutilsxcode-select --installdidn't do the magic for me)sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /after installing command line tools, per Common Build ProblemsWorked a treat.