

You can also manually delete it from /Library/Developer/Toolchains/.Following the launch of iOS 15.5 and macOS Monterey 12.4, Apple today released Swift Playgrounds 4.1, the latest version of the iPad and Mac app that is designed to teach users how to code and build apps. Hover your mouse over the one you want to uninstall, and you will see a cog icon appear.Open Xcode’s Preferences ( ⌘ - command + ,), navigate to Components tab, then select Toolchains.You can easily uninstall your toolchain in the Toolchains tab under Components preferences. Selecting a Swift toolchain in Xcode will affect the Xcode IDE only. Xcode uses the selected toolchain for building Swift code, debugging, and even code completion and syntax coloring.

Click indicator icon will open up Components preferences, where you can change back to the default one. When an alternative toolchain is chosen, you will see a new toolchain indicator in Xcode's toolbar. You will see it once you installed the toolchain. The Toolchains tab only shows up if you have more than one toolchain.

You will see all available toolchains, select our newly installed one. Open Xcode’s Preferences ( ⌘ - command + ,), navigate to Components tab, then select Toolchains. So, don't worry if you don't see this menu. This menu only shows up if you have more than one toolchain. You can find the Toolchains menu under Xcode menu, where you can easily switch between installed Swift toolchains. Choose the new toolchain in XcodeĪfter installing a new toolchain, we need to tell Xcode to use this new toolchain. In this example it would install at /Library/Developer/Toolchains/. Run the package installer and simply follow the installer steps, which will install an Xcode toolchain into /Library/Developer/Toolchains/. You will get package installer file like this. You can find the newest Swift snapshots from the Official Swift website under the Download menu. This article will show you how to use Swift 5.5 snapshot in Xcode 12.5 (Xcode 12.5 comes with Swift 5.4). Each Xcode version comes with a specific Swift toolchain, but you don't have to wait for a new Xcode version to try the new Swift features.
