/usr/include missing on macOS Catalina (with Xcode 11)

by mkl   Last Updated October 09, 2019 13:12 PM

Follow up to the same problem on Mojave.

After upgrading to macOS Catalina, none of the C headers can be found in /usr/include. The reason for this may be found in the Xcode 10 release notes (previous version):

The Command Line Tools package installs the macOS system headers inside the macOS SDK. Software that compiles with the installed tools will search for headers within the macOS SDK provided by either Xcode at:


or the Command Line Tools at:


[...] As a workaround, an extra package is provided which will install the headers to the base system. In a future release, this package will no longer be provided. [...]

(See the link to the question above for details on this suggested workaround.)

Apparently Apple made good on their threat with Xcode 11. How can one install the C headers to /usr/include on macOS Catalina using Xcode 11?

Related Questions

Xcode cannot run using the selected device?

Updated April 12, 2015 00:05 AM

Xcode 7 develop for iOS without developer account

Updated July 05, 2016 08:05 AM

OpenMPI already installed in OS X?

Updated June 05, 2015 04:05 AM