Where are the C headers in MacOS Mojave?

前端 未结 3 1158
深忆病人
深忆病人 2020-12-19 05:06

It seems that Apple keeps on moving their tools around and the old solution of installing the command line tools are with using xcode-select --install doesn\'t

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-19 06:05

    Per the following article: https://silvae86.github.io/sysadmin/mac/osx/mojave/beta/libxml2/2018/07/05/fixing-missing-headers-for-homebrew-in-mac-osx-mojave/

    This will install the headers:

    open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

提交回复
热议问题