vapor toolbox broken after upgrading swift -


vapor toolbox crashing when trying use after upgrading swift 3.1.

dyld: lazy symbol binding failed: symbol not found: __ttsfq4n_s___tfvss13characterview38_measureextendedgraphemeclusterforwardft4fromvvss17unicodescalarview5index_si   referenced from: /usr/local/bin/vapor   expected in: /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/lib/swift/macosx/libswiftcore.dylib  dyld: symbol not found: __ttsfq4n_s___tfvss13characterview38_measureextendedgraphemeclusterforwardft4fromvvss17unicodescalarview5index_si   referenced from: /usr/local/bin/vapor   expected in: /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/lib/swift/macosx/libswiftcore.dylib 

swift abi not yet stable. thus, swift programs (like vapor toolbox) must recompiled work new versions of language.

reinstall brew

simply re-installing toolbox should fix issue.

brew reinstall vapor/tap/vapor 

replace old installation brew

you may need delete existing executable if did not install homebrew

rm /usr/local/bin/vapor 

then ensure executable gone

which vapor 

you can install brew

brew install vapor/tap/vapor 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -