1

I'm using Mac OS 10.15.4 Catalina.

macOS Mojave had a known issue whereby users need to download missing Xcode headers.

I have no headers in /usr/include

Multiple StackExchange questions and blogposts addressed this question, by recommending users do (roughly) the following:

#run installer via command line
sudo installer -pkg
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /

However, I cannot find /Library/Developer/CommandLineTools/Packages/.

I tried removing the command line tools and re-installing as follows:

$ (sudo) rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install

However, I still don't see:

/Library/Developer/CommandLineTools/Packages/

How are these header files made available for Catalina users?

1

After installing Xcode 11.5 on my Catalina Mac, I found many of the standard /usr/include C headers in: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .