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
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