Why does a new user account fix my pod install?

前端 未结 1 1050
猫巷女王i
猫巷女王i 2021-02-11 08:28

I\'m using cocoapods, and it errors every time it tries to install Crashlytics. This is the error:

[!] /usr/bin/curl -f -L -o /var/folders/3l/8_q_611x0ms5z5pk1n_         


        
1条回答
  •  名媛妹妹
    2021-02-11 09:22

    $ brew update
    $ brew upgrade openssl
    $ brew link openssl --force
    $ brew install --with-openssl curl
    $ brew link curl --force
    

    then reload you shell profile (source ~/.bash_profile or source ~/.zshrc), confirm you curl

    $ which curl
    /usr/local/bin/curl
    $ curl --version
    curl 7.47.0 (x86_64-apple-darwin14.5.0) libcurl/7.47.0 OpenSSL/1.0.2e zlib/1.2.5
    

    finally you will good to go. :)

    0 讨论(0)
提交回复
热议问题