This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
Multiple Xcode versions on macOS #2
Labels
documentation
Improvements or additions to documentation
how-to
More of a how-to rather than an issue
It is most certainly possible to have different versions of Xcode on your macOS development machine.
How To
Before you upgrade Xcode using App Store. Be sure to move Xcode 11 to its own folder before upgrading.
Download older versions of Xcode: https://developer.apple.com/download/more
Example, Make a new directory in
/Applications
, for exampleXcode-10.1
Xcode_10.1.xip
to that folder and extractExplicitly set your Xcode path, in case you have a Xcode 10 or 11 or a Beta installed
xcode-select -print-path
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
sudo xcode-select --switch /Applications/Xcode-10.1/Xcode.app/Contents/Developer/
# Use Xcode 10.1 for upgrading Swift 3 projects
sudo xcode-select --switch /Applications/Xcode-11.7/Xcode.app/Contents/Developer/
sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer/
XCS
XCS
), it appears that you can only use one version. In that case you would be best using multiple machines.The text was updated successfully, but these errors were encountered: