Can’t compile C program on a Mac after upgrade to Mojave
TL;DR Make sure you have downloaded the latest ‘Command Line Tools’ package and run this from a terminal (command line): open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg For some information on Catalina, see Can’t compile a C program on a Mac after upgrading to Catalina 10.15. Extracting a semi-coherent answer from rather extensive comments… Preamble Very often, xcode-select –install has … Read more