Skip to content

Instantly share code, notes, and snippets.

@marknorgren
Last active August 29, 2015 14:02
Show Gist options
  • Save marknorgren/49d710785f9330d9b28f to your computer and use it in GitHub Desktop.
Save marknorgren/49d710785f9330d9b28f to your computer and use it in GitHub Desktop.
Xcode6-Beta
# Setup alias for `swift`
alias swift="/Applications/Xcode6-Beta2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift"
#Edit - preferred method is above, leaving old method below.
#Xcode 6 Beta 1
sudo xcode-select -switch /Applications/Xcode6-Beta.app/Contents/Developer
#Xcode 6 Beta 2
sudo xcode-select -switch /Applications/Xcode6-Beta2.app/Contents/Developer
xcrun swift
lldb --repl
#Switch back to current Xcode version
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment