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