forzalianjunting
V2EX  ›  问与答

老哥们, m1 mbp 执行 pod install 一直报错,求助

  •  
  •   forzalianjunting · Jan 18, 2021 · 2016 views
    This topic created in 1961 days ago, the information mentioned may be changed or developed.
    LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle - /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle


    github 上的很多方法都试过了,还是不行,搞了大半天了
    Supplement 1  ·  Jan 19, 2021
    [!] Couldn't determine repo type for URL: `https://cdn.cocoapods.org/`: Invalid ABI specified

    按照大家的方式后,pod install 又报这个问题了,有没有大佬知道怎么解决?
    3 replies    2021-01-19 17:31:59 +08:00
    yufz
        1
    yufz  
       Jan 18, 2021
    装一个 x86 的 ffi
    arch -x86_64 sudo gem install ffi
    BrettD
        2
    BrettD  
       Jan 19, 2021
    forzalianjunting
        3
    forzalianjunting  
    OP
       Jan 19, 2021
    @jinyang656 这一步通过了,然后报了另外一个错,能帮忙看下吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4649 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 93c8b4a0 · 296ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
    ♥ Do have faith in what you're doing.