Swiftlint: pod install error

Created on 19 Apr 2018  路  4Comments  路  Source: realm/SwiftLint

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

screen shot 2018-04-19 at 11 58 28 pm

Can someone help me to resolve this? Thanks.

help

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.2

Let me know if that helps

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

larslockefeer picture larslockefeer  路  3Comments

Den-Ree picture Den-Ree  路  3Comments

muzamilhassan1987 picture muzamilhassan1987  路  3Comments

tomasebrennan picture tomasebrennan  路  3Comments

mrtj picture mrtj  路  3Comments