Skip to content

Instantly share code, notes, and snippets.

@thillerson
Created June 4, 2014 17:38
Show Gist options
  • Save thillerson/0eb01e76f4a1cbdcca7d to your computer and use it in GitHub Desktop.
Save thillerson/0eb01e76f4a1cbdcca7d to your computer and use it in GitHub Desktop.
Easy xcode switching for playing with swift
➜ cat .bash_aliases | grep xcode
alias x5="sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer"
alias x6="sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer"
➜ x5
➜ xcrun swift
xcrun: error: unable to find utility "swift", not a developer tool or in PATH
➜ x6
➜ xcrun swift
Welcome to Swift! Type :help for assistance.
1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment