If you work with OS X 10.9 and want to have swift at your console, just specify new SDK location as parameter. // this is test.swift println("Hello") /Applications/Xcode6-Beta6.app/Contents/Developer/\ Toolchains/XcodeDefault.xctoolchain/usr/bin/swift \ -target x86_64-apple-macosx10.9 -sdk \ /Applications/Xcode6-Beta6.app/Contents/Developer/\ Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sd

