ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension

后端 未结 23 1790
深忆病人
深忆病人 2020-12-04 19:06

I am trying to install cocoapods to my MacBook Pro running with OSX 10.9.1 (new Mavericks) and after type gem install cocoapods I get the following error:

23条回答
  •  旧时难觅i
    2020-12-04 19:36

    I was getting this error and had to completely reinstall cocoapods to fix it. Finally worked. Maybe this solution suits for anyone else.

    sudo rm -rf home_folder/.cocoapods/
    

    After that, did again

    pod setup
    

    and installed my libraries from zero, and everything worked.

    Hope it helps!

提交回复
热议问题