Manage the Xcodes installed on your Mac
git clone https://github.com/interstateone/xcodes
cd xcodes
swift build -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.13"
cp $(swift build --show-bin-path)/xcodes /usr/local/bin/xcodes
While installing, you may get the following output:
swift build -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.13"
error: terminated(72): xcrun --sdk macosx --find xctest output:
If that occurs, it means you need to xcode-select
a version of Xcode.
list
: Lists the versions of Xcode available to downloadinstall <version>
: Downloads and installs a version of Xcodeinstalled
: Lists the versions of Xcodes that are installed in /Applications on your computerupdate
: Updates the list of available versions of Xcode
Notable design decisions are recorded in DECISIONS.md. The Apple authentication flow is described in Apple.paw, which will allow you to play with the API endpoints that are involved using the Paw app.
xcode-install
and fastlane/spaceship both deserve credit for figuring out the hard parts of what makes this possible.