Search for existing GitHub issues similar to yours:

1、 确定~/.cocoapods/repos路径下是否有数据,如果没有

git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master

2、Podfile 中添加source

source 'https://github.com/CocoaPods/Specs.git'
target 'xxx' do

你可能感兴趣的:(Search for existing GitHub issues similar to yours:)