I got this error while trying to install SwiftLint via CocoaPods:

Can someone help me to resolve this? Thanks.
This looks like a connectivity issue when trying to download the SwiftLint binary.
I'd try again and if the issue persists, try to run the curl command that is printed to see if you can reach that host.
I did
curl https://github.com/realm/SwiftLint/releases/download/0.25.1/portable_swiftlint.zip
and got this:
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Seems it's the same error.
@dongmai
Please see: https://githubengineering.com/crypto-removal-notice/
I believe you need at least git 2.6?
then:
git config --global --add http.sslVersion tlsv1.2
Let me know if that helps
I'm closing this because there's not much we can do here.
Most helpful comment
@dongmai
Please see: https://githubengineering.com/crypto-removal-notice/
I believe you need at least git 2.6?
then:
git config --global --add http.sslVersion tlsv1.2Let me know if that helps