[swift-users] Swift REPL broken after updating to Sierra, is it just me?

Jens Persson jens at bitcycle.com
Thu Oct 6 08:51:25 CDT 2016


After updating to Sierra I can no longer use the Swift REPL. It crashes
immediately (see Terminal session below). Anyone else having the same
problem, any workaround?

It didn't help to download and reinstall the command line tools for 10.12.

(I had Xcode 8 and 8.1 beta installed before updating to Sierra. It might
have happened just after I did a sudo xcode-select -s
/Applications/Xcode.app )

See Terminal session below.

/Jens


› swift
Welcome to Apple Swift version 3.0 (swiftlang-800.0.48 clang-800.0.40).
Type :help for assistance.
Segmentation fault: 11
›
› swift -v
Apple Swift version 3.0 (swiftlang-800.0.49 clang-800.0.40)
Target: x86_64-apple-macosx10.9
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/lldb
"--repl=-target x86_64-apple-macosx10.9 -enable-objc-interop -sdk
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-color-diagnostics"
Welcome to Apple Swift version 3.0 (swiftlang-800.0.48 clang-800.0.40).
Type :help for assistance.
Segmentation fault: 11
›
›
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
-sdk
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-target x86_64-apple-macosx10.12
Welcome to Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38).
Type :help for assistance.
Segmentation fault: 11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20161006/6a40b9f3/attachment.html>


More information about the swift-users mailing list