Tugulab Blog

How to Install Multiple Versions of Xcode on the Same macOS Machine

Keep the App Store Xcode as the current one and add older or beta versions alongside it, downloaded from Apple's developer downloads and renamed.

author avatarclacla

As an iOS developer, you often have to coordinate and use a specific versions of Xcode as part of a team. Especially if the codebase gets older, bigger and more complex.

It becomes essential then to install multiple versions of Xcode on the same machine. Here it’s how to do it.

The Xcode app icon, a blueprint and hammer, on a black background

Latest Xcode version

The latest version of Xcode should generally be installed from the AppStore, since Apple does not provide a downloadable version. It will get updated by the AppStore when a new stable version comes out (automatically or manually depending on your AppStore settings).

Xcode listed in the Mac App Store, where the current version comes from

This Xcode version will just be named Xcode in your Applications folder.

Older Xcode versions

You can download old versions of Xcode and install them on the side of the latest one. So you can just choose which version you want to launch depending on your situation.

Open https://developer.apple.com/download/more/ and login with your developer account. Then write Xcode in the left column’s search bar. You will now be able to dowload older and newer versions Xcode, including betas and RCs.

Apple's developer downloads filtered by Xcode, listing older versions and betas

After downloading the archive, unpack it. Rename the extracted Xcode app something like Xcode_11.7. Then, move it into the Applications folder.

The unpacked Xcode renamed to Xcode_11.7 inside the Applications folder

You are done. Good development!

Read next