美文网首页
cocoapods LoadError - incompatib

cocoapods LoadError - incompatib

作者: 周无恋 | 来源:发表于2021-08-17 10:48 被阅读0次

记录下遇到的问题,运行flutter项目出现以下错误

    LoadError - incompatible library version -
    /Users/zack/.rvm/gems/ruby-3.0.0/gems/ffi-1.15.0/lib/ffi_c.bundle
    <internal:/usr/local/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_requi
    re.rb>:85:in `require'
    <internal:/usr/local/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_requi
    re.rb>:85:in `require'
    /Users/zack/.rvm/gems/ruby-3.0.0/gems/ffi-1.15.0/lib/ffi.rb:6:in `rescue in
    <top (required)>'
    /Users/zack/.rvm/gems/ruby-3.0.0/gems/ffi-1.15.0/lib/ffi.rb:3:in `<top
    (required)>'
blablabla

从第一句可判断是 ffi 除了问题

$ gem install ffi

then,

$ flutter run

later,

Cloning into
    '/var/folders/rb/~/T/d20210817-6359-mthhmc'...
    fatal: unable to access 'https://github.com/scalessec/Toast.git/': LibreSSL
    SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

很明显,

git config --global --add remote.origin.proxy ""

then,

flutter run 

涛声依旧,

再次尝试,

git config --global http.sslBackend "openssl"

git config --global --add remote.origin.proxy ""

then,

flutter run

bingo

相关文章

网友评论

      本文标题:cocoapods LoadError - incompatib

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