0

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?

2
  • Not an exact duplicate, but might be useful: apple.stackexchange.com/questions/372032/… Commented May 26, 2020 at 5:18
  • As noted in that question change your build system to point to the correct path Commented May 26, 2020 at 13:59

1 Answer 1

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/

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.