Cannot install brew on Mojave with Xcode 10

后端 未结 7 1768
野的像风
野的像风 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:46

    You will need to install both "Xcode 10.0 Beta" from https://developer.apple.com/download/ AND "Command Line Tools (macOS 10.14) for Xcode 10 Beta" from

    https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.14_for_Xcode_10/Command_Line_Tools_macOS_10.14_for_Xcode_10.dmg

    Update contributed by other comments, after you installed "Command Line Tools", you will also need to execute the following command in your terminal.

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

提交回复
热议问题