


version 11.3 of Xcode is now like 16 GB? That's quite a lot and having like 2 or even 3 versions of Xcode installed might not be possible for some of us, especially if one uses his MacBook not just for single project development but also for some other stuff as well. How can we give a new Swift version that has not been released with the latest available Xcode yet? Or maybe you are short on free disk space (sooner or later we all know that feeling I think 😭) and do not want to install a new version of Xcode yet? Toolchains take way less space (around 2-3 GB) compared to Xcode. Usually, we can compile them anyway with backward compatibility by setting older Swift versions for that framework but sometimes the new version of Swift brings a great addition that it is just too good not to use that. Especially if your application depends on some third party frameworks since those will rather sooner than later be updated to support the new Swift version. Even though we, developers, are not forced to use the newest Swift version right away when it is released it might be still good to be ready for it.

Most important, however, we want to prepare our applications for a new Swift version. New releases do not only contain some minor fixes and improvements but we also often get some new features as well. I had to do this for subsequent Ventura updates as the dropdown above didn’t give any newer versions.Swift development isn't slowing down in any way new versions are being released a few times a year. Update: Thanks to Abdallah Abedraba for pointing out that you can also get the command line tools from. I clicked the dropdown menu, selected what you see there, and now Homebrew is happy. Where it now shows the Command Line Tools was previously empty. Not sure what else to do, and remembering that in the past I’ve downloaded the Command Line Tools from Xcode itself I started going through the settings page. Another command I have tried is: xcode-select -install but that tried to install and threw an error. How do I get the Command Line Tools though? In the past I’ve downloaded that from the same website, but I couldn’t find anything there. So far so good, this even quiets the first Homebrew warning. This downloads a large zip file from which I can extract Xcode-beta. Simply delete the existing Xcode and download the latest from Apple. Not a problem, I’ve been down this path before. It didn’t show any updates there, and if I try to open Xcode from the App Store it refuses to open and gives some error message about me having XCode 13.4.1 and I should get the latest version XCode 13.4.1 instead (clearly a bug in the messaging). I had Xcode 13.4.1 installed from the App Store. Xcrun : error : invalid active developer path ( / Library / Developer / CommandLineTools ), missing xcrun at : / Library / Developer / CommandLineTools / usr / bin / xcrun
