I have used the gcc command on the terminal to compile C programs but all of a sudden, after an update to my Mac\'s OS (to macOS 10.14 Mojave, and XCode 10.0), I started rec
When you
Mojave 10.14.6/usr/include was deleted againThe file /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg does not exist. andxcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updatesThen, what helped me recover the mentioned package, was deleting the whole CommandLineTools folder
(sudo) rm -rf /Library/Developer/CommandLineTools and reinstall it xcode-select --install.