libffi_convenience.a(/) is not a

2022-07-24  本文已影响0人  emisunshine

今天安装cocoapods出现错误。

解决方法

Try to switch ruby to homebrew version.

brew install ruby

brew link --overwrite ruby

If you need to have ruby first in your PATH run:

echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile

For compilers to find ruby you may need to set:

export LDFLAGS="-L/usr/local/opt/ruby/lib"

export CPPFLAGS="-I/usr/local/opt/ruby/include"

For pkg-config to find ruby you may need to set:

export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig"

上一篇下一篇

猜你喜欢

热点阅读