cann't run .swift file
Michael-Maher-BBN opened this issue · comments
Michael-Maher-BBN commented
i tried to run addTarget.swift file using terminal using this command:
swift sh addTarget.swift
but i get this error :
dyld: Symbol not found: _$s11SubSequenceSlTl
Referenced from: /usr/local/bin/swift-sh
Expected in: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib
in /usr/local/bin/swift-sh
Abort trap: 6
Max Howell commented
You need to reinstall swift-sh
I imagine.