forzalianjunting
V2EX  ›  问与答

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

  •  
  •   forzalianjunting · Jan 18, 2021 · 2339 views
    This topic created in 2119 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
    yufz
    Jan 18, 2021
    1
    装一个 x86 的 ffi
    arch -x86_64 sudo gem install ffi
    forzalianjunting
    forzalianjunting
    OP
    Jan 19, 2021
    3
    @jinyang656 这一步通过了,然后报了另外一个错,能帮忙看下吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1612 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:08 · PVG 16:08 · LAX 00:08 · JFK 03:08
    ♥ Do have faith in what you're doing.