最近Cocoapods升級(jí)到1.8.4后,install/update/search的時(shí)候出現(xiàn)問題,問題如下:

Snip20200521_1.png
按照官方文檔 podfile文件中添加source源:
source 'https://github.com/CocoaPods/Specs.git'
podfile文件中一定要指定master源,因?yàn)楝F(xiàn)在默認(rèn)是trunk源
source 'https://github.com/CocoaPods/Specs.git'
target 'XXXDemo' do
use_frameworks!
end