Sometimes you need to switch between the latest xcode version and an ancient ones.
- Clone this repo
git clone https://github.com/CaptainQuirk/exx <path>
- Add
<path>/bin/exx
to your $PATH
info
: Prints the current xcode versionls
: List all installed xcode versionsswitch <version>
: Switch to a specified version of Xcodeupdate
: Backs up the current Xcode.app and upgrade via softwareupdatereset
: Resets Xcode version to the latest
- Exx expects the ancient Xcode versions to be installed in /Applications with the following folder structure
/Applications/Xcode
├── 5.1
│ └── Xcode.app
├── 6.1
│ └── Xcode.app
├── 6.4
│ └── Xcode.app
└── 7.1
└── Xcode.app
This project was built with sub