报错

Traceback (most recent call last):

2: from -e:1:in

' 1: from /Users/XXX/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/json/common.rb:156:inparse'
/Users/XXX/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/json/common.rb:156:in `parse': 767: unexpected token at '' (JSON::ParserError)
CocoaPods 1.10.0 does not exist.

解决:替换镜像
gem sources --add https://gems.ruby-china.com/

你可能感兴趣的:(报错)