Cannot install brew on Mojave with Xcode 10

后端 未结 7 1770
野的像风
野的像风 2021-01-31 04:20

I can not install any brew packages on my mac with the following error info.

Installed on my Mac:

  • macOS 10.14 Beta (18A293u)
7条回答
  •  青春惊慌失措
    2021-01-31 04:52

    After installing CLT, you can ask CLT to add header files to /usr/include, then homebrew will appropriate detect the Command Line Tools.

    installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
    

提交回复
热议问题