
(Move to trash)Īfter trying to update to Xcode 14.1 on Ventura for nearly 24 hours, I eventually trashed the Xcode application, rebooted, started only the App Store, and did a new install, leaving the App Store in the foreground.

This allows you to trick your computer that you actually have enough space. To solve the "space" problem you can create a dummy file and directly remove it.

What I found to be the problem is that App Store didn't think I had enough space when in fact I had enough space for Xcode. Touch /tmp/.-progress Įasy peasy ☺️ I also made a gist with this, which you can download here.I had the same problem, and for me, the tips in this thread did not work. In this AskDifferent answer a solution without GUI is proposed, and here you can find my spin on it: #!/bin/bash # See echo "Checking Xcode CLI tools" # Only run if the tools are not installed yet # To check that try to print the SDK path That is not optimal when trying to setup a VM in an automated way.

The canonical way to do it is to install Xcode itself, but that means downloading a couple of GB of app from the store, which might take time.Īnother option is to open a Terminal and type xcode-select -install.īoth the options above have a flaw: they require a GUI. If you are in the business of setting up new development machines or virtual machines you probably know that to do almost anything you need to have the Xcode Command Line Tools.īeing something that only devs need Apple doesn't ship them with OS X, as far as Yosemite at least, so you need to install them yourself.
