无法在xcode中安装cocoapods [英] Not able to install cocoapods in xcode

查看:256
本文介绍了无法在xcode中安装cocoapods的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在Project中安装cocoapods。我正在使用 xcode 6.3.1 ,并且操作系统是EL Capitan版本是 10.11.6

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

我正在按照以下步骤


  • sudo gem install cocoapods

  • 吊舱设置

  • 打开终端并给出我们项目的路径

  • pod init

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

当我执行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

推荐答案

尝试此操作以解决CocoaPod问题。

Try this for CocoaPod issue.

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

此处引用: https://github.c om / CocoaPods / CocoaPods / issues / 3736

这篇关于无法在xcode中安装cocoapods的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆