9/6/2023 0 Comments Xcode software update terminal![]() ![]() 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. Or try a command like this: sudo log stream -predicate "processImagePath Contains 'softwareupdate' AND eventMessage Contains 'progress'", which will filter the log messages to only include ones that contain the string 'progress'Īlso for reference, after running softwareupdate -dump-state you can see the information it dumps in /var/log/ you are actually using is the command to install the Xcode command line tools - xcode-select -install. There's a separate progress counter both for the software download, and the install.įor example, while in the install phase I see messages like this: $ sudo log stream -predicate "processImagePath Contains 'softwareupdate'" Its logging is quite noisy, but some of these relay the current progress. Or look at logged messages during the last 10 minutes by using sudo log show -last 10m -predicate. Just run sudo log stream -predicate "processImagePath Contains 'softwareupdate'" in another terminal to view the log messages live. ![]() You can observe the progress softwareupdate is making by viewing its logging messages. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |