Posts

Post not yet marked as solved
1 Replies
1.4k Views
When I type swift at the prompt in the terminal window, the response is: error: failed to launch REPL process: process exited with status -1 (Error 1). I am running macOS Mojave 10.14.6 and xCode 10.3. I cannot get swift to start in the terminal window. I followed the procedure on the swift.org site to bring in the toolchains variable with the command: export TOOLCHAINS=swift. This does nothing and the error remains. At the command prompt ($) when I type$ swift --versionApple Swift version 5.1 (swiftlang-1100.0.38.29 clang-1100.0.20.14)Target: x86_64-apple-darwin18.7.0Anyone know how to launch swift in teminal on a macbook pro?
Posted
by drrl.
Last updated
.