I read What\'s new in Xcode 6. The article introduces some new feature about Xcode 6, and it says:
Command Line Xcode’s debugger includes an inter
Command Line
Xcode’s debugger includes an inter
In Xcode 6.1.1 with Command Line Tools installed you can execute scripts by referencing directly to /usr/bin/swift the following way:
/usr/bin/swift
#!/usr/bin/swift let variable: String = "string" print("Test \(variable)")