Not able to install cocoapods in xcode

半世苍凉 提交于 2020-01-06 18:37:25

问题


I am currently installing cocoapods in my Project.i am using xcode 6.3.1 and OS is EL Capitan version is 10.11.6

i am following this steps

  • sudo gem install cocoapods
  • pod setup
  • open terminal and give path of our project
  • pod init

when i do pod init i am getting error.i have attached screenshot.

please go through it and please let me know.thanks in advance


回答1:


Try this for CocoaPod issue.

sudo gem install -n /usr/local/bin cocoapods

reference here: https://github.com/CocoaPods/CocoaPods/issues/3736




回答2:


Try

sudo gem uninstall nanaimo

just delete one of the nanaimo, and keep the latest version.



来源:https://stackoverflow.com/questions/42973369/not-able-to-install-cocoapods-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!