mxcl / swift-sh

Easily script with third-party Swift dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cann't run .swift file

Michael-Maher-BBN opened this issue · comments

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

You need to reinstall swift-sh I imagine.