中三A105论坛
请选择 进入手机版 | 继续访问电脑版

注册 登录
查看: 890|回复: 0

CocoaPods问题

[复制链接]

105

主题

119

帖子

553

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
553
发表于 2019-4-23 23:51:52 | 显示全部楼层 |阅读模式

1.CocoaPods 版本旧

The version of CocoaPods used to generate the lockfile is higher that the one of the current executable. Incompatibility issues might arise.

sudo gem update cocoapods2.Operation not permitted - /usr/bin/xcodeproj

This is the solution when you are receiving the "Operation not permitted" error.

$ mkdir -p $HOME/Software/ruby$ export GEM_HOME=$HOME/Software/ruby$ gem install cocoapods[...]1 gem installed$ export PATH=$PATHHOME/Software/ruby/bin$ pod --version0.37.2

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回列表 返回顶部