[Terminal]
sudo xcode-select -s /Applications/Xcode6-Beta.app/Contents/Developer
export SDKROOT=$(xcrun --show-sdk-path --sdk macosx)
vi main.swift
main.swift
#!/usr/bin/env xcrun swift -i
import Foundation
println("hello ?")
[Terminal]
chmod +o main.swift
./main.swift
hello ?
vi main.swif
cp main.swift ?