美文网首页
libffi_convenience.a(/) is not a

libffi_convenience.a(/) is not a

作者: emisunshine | 来源:发表于2022-07-24 07:54 被阅读0次

    今天安装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"

    相关文章

      网友评论

          本文标题:libffi_convenience.a(/) is not a

          本文链接:https://www.haomeiwen.com/subject/ttuiirtx.html