error: linker command failed with exit code 1 (use -v to see invocation)

xcode升级后,执行ionic命令行错误。

platform: zippered

                ^~~~~~~~

file '/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd'

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [Release/drivelist.node] Error 1执行ionic命令行错误。

这里将路径更改就能解决 

执行

xcode-select --version

显示 xcode-select version 2354.

sudo xcode-select -s /Applications/Xcode.app

推荐阅读更多精彩内容