onevcat / FengNiao

A command line tool for cleaning unused resources in Xcode.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dyld: Symbol not found

MaxAdamyan opened this issue · comments

When trying to find unused resources using FengNiao I get this output in console
dyld: Symbol not found: __T0s11CommandLineO9argumentsSaySSGvZ Referenced from: /usr/local/bin/fengniao Expected in: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib in /usr/local/bin/fengniao Abort trap: 6
I think it has something to do with Swift 4.1 and Xcode 9.3.

Swift is not ABI stable yet. So you need to rebuild FengNiao after you upgrade your tool chain. Try clone the latest version and build again should solve this issue.

Thanks it did the work.
Looking forward to ABI stability in Swift 5.