![]() The easiest way to achieve this is by removing the old version of the tools, and installing the new one. In most cases updating macOS first will solve the problem and allow Xcode to be updated as well.Ī large portion of users are landing on this answer in an attempt to update the Xcode Command Line Tools. The cause for this is more than likely a pending macOS update (as pointed out below). You can get the name from the list command.Īs it was mentioned in the comments here is the man page for the softwareupdate tool.Ī lot of users are experiencing problems where softwareupdate -install -a will in fact not update to the newest version of Xcode. You can use softwareupdate -list to see what's available and then softwareupdate -install -a to install all updates or softwareupdate -install to install just the Xcode update (if available). The command you need to update Xcode is softwareupdate command. ![]() Hence the error message you got - the tools are already installed. ![]() What you are actually using is the command to install the Xcode command line tools - xcode-select -install.
0 Comments
Leave a Reply. |