美文网首页
升级 Pod

升级 Pod

作者: ReidWang | 来源:发表于2017-02-09 14:28 被阅读35次

// 1、更新 gem 

sudo gem update --system

// 2、安装

sudo gem install cocoapods

// 2.1、进行 2 安装步骤时,可能会出现 Operation not permitted - /usr/bin/xcodeproj 错误信息,此时需要用一下命令进行安装

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

// 设置 pod

pod setup

如果出现

Performingadeep fetchofthe`master` specs repotoimprove future performance

则需要

rm -rf ~/.cocoapods/repos/master

再进行 pod setup

更多资料1

更多资料2

相关文章

网友评论

      本文标题:升级 Pod

      本文链接:https://www.haomeiwen.com/subject/kwiiittx.html