You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2023. It is now read-only.
Example, Make a new directory in /Applications, for example Xcode-10.1
Move the file Xcode_10.1.xip to that folder and extract
Explicitly set your Xcode path, in case you have a Xcode 10 or 11 or a Beta installed
xcode-select -print-path
Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).
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.1Xcode_10.1.xipto that folder and extractExplicitly set your Xcode path, in case you have a Xcode 10 or 11 or a Beta installed
xcode-select -print-pathsudo 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 projectssudo xcode-select --switch /Applications/Xcode-11.7/Xcode.app/Contents/Developer/sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer/XCSXCS), it appears that you can only use one version. In that case you would be best using multiple machines.