I get an error after running the command
pod install --repo-update
[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/deprecated_podspecs.txt, error: Connection reset by peer - SSL_connect
Xcode 10.3
version 1.8.0.beta.2
Looks like a network issue on your part. I am sorry but this does not appear to be an issue with CocoaPods. You can also fallback to use git.
I have the same trouble after updating to 1.8
Got the same trouble:

Did the same as mentioned here for iOS & macOS
I found the reason of the problem for developers from Russia — it seems that something used in CocoaPods is blocked now by Roskomnadzor. I add to the ”/private/etc/hosts“ the line “142.93.108.123 cdn.cocoapods.org“, and it resolves the problem.
Most helpful comment
I found the reason of the problem for developers from Russia — it seems that something used in CocoaPods is blocked now by Roskomnadzor. I add to the ”/private/etc/hosts“ the line “142.93.108.123 cdn.cocoapods.org“, and it resolves the problem.