2019 installation cocoaPods

 

pod install error:

CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/1/1/7/SDWebImage/5.4.0/SDWebImage.podspec.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for "raw.githubusercontent.com" port 443)

Add source podfile uppermost 'https://github.com/CocoaPods/Specs.git'

po again

Guess you like

Origin www.cnblogs.com/tufei7/p/12011594.html