为什么新用户帐户会修复我的 pod 安装?
Why does a new user account fix my pod install?
我正在使用 cocoapods,每次尝试安装 Crashlytics 时都会出错。这是错误:
[!] /usr/bin/curl -f -L -o /var/folders/3l/8_q_611x0ms5z5pk1n_79g_40000gn/T/d20160630-21289-u98pwu/file.zip https://kit-downloads.fabric.io/cocoapods/crashlytics/3.7.2/crashlytics.zip --create-dirs --netrc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect
我正在使用 OS X 10.11.4 (15E65)。所以我创建了一个品牌 spankin 的新用户帐户,同样的 pod install
工作得很好!阻止 cocoapods 正常工作的旧用户帐户和新用户帐户之间可能有什么区别?是否有权限或证书或任何我应该比较的东西?
$ brew update
$ brew upgrade openssl
$ brew link openssl --force
$ brew install --with-openssl curl
$ brew link curl --force
然后重新加载您的 shell 配置文件(source ~/.bash_profile
或 source ~/.zshrc
),确认您 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
你终于可以走了。 :)
我正在使用 cocoapods,每次尝试安装 Crashlytics 时都会出错。这是错误:
[!] /usr/bin/curl -f -L -o /var/folders/3l/8_q_611x0ms5z5pk1n_79g_40000gn/T/d20160630-21289-u98pwu/file.zip https://kit-downloads.fabric.io/cocoapods/crashlytics/3.7.2/crashlytics.zip --create-dirs --netrc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect
我正在使用 OS X 10.11.4 (15E65)。所以我创建了一个品牌 spankin 的新用户帐户,同样的 pod install
工作得很好!阻止 cocoapods 正常工作的旧用户帐户和新用户帐户之间可能有什么区别?是否有权限或证书或任何我应该比较的东西?
$ brew update
$ brew upgrade openssl
$ brew link openssl --force
$ brew install --with-openssl curl
$ brew link curl --force
然后重新加载您的 shell 配置文件(source ~/.bash_profile
或 source ~/.zshrc
),确认您 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
你终于可以走了。 :)