As the Title of my question, I don't know how to install the Command_Line_Tools_macOS_10.14_for_Xcode_10_Beta for my mac, please help.
What I did:
Error: Your Xcode (9.4.1) is too outdated. Please update to Xcode 10.0 (or delete it). Xcode can be updated from https://developer.apple.com/download/more/
I've tried install the two .pkg which marked with red rectangle in the attached image, but the error still coming.
Environment:
macOS 10.14 Beta
Xcode(Installed 2 versions on the Mac):
10 (Beta),
9.4.1
It looks like you have two versions of the xcode installed on your machine. First select the latest version of the xcode by running this command:
sudo xcode-select -switch <path/to/>Xcode.app
Once this is done, install the required command line tools but running this command:
xcode-select --install
This worked for me:
/Applications
Xcode-beta
application and wait for it to install necessary packages when it prompts it at launchsudo xcode-select -switch /Applications/Xcode-beta.app/
Now brew update
should work again.
This fixed things for me, on a fresh 10.14 Beta 3 install.
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
Following worked for me:
After you updated to Mojave 10.14 Go to https://developer.apple.com/download/more/ search for "command line" then
download "Command line tool for MacOS 10.14"
Once dmg is downloaded install the package.
Verify package installation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With