Errors when installing cocoapods with gem

后端 未结 7 2001
旧巷少年郎
旧巷少年郎 2021-02-04 01:41

I am using macOS Mojave and when I try to install cocoapods using gem I am getting the following error.

Building native extensions. This could take a whi

7条回答
  •  梦毁少年i
    2021-02-04 02:16

    This helped/ worked for me like charm:

    # brew cleanup -d -v    
    # brew install cocoapods
    

    P.S.: You should have Homebrew installed. You can use below command to install brew:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    

    Good luck :)

提交回复
热议问题