jmo*_*stl 1 macos cocoapods crashlytics
我正在使用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
Run Code Online (Sandbox Code Playgroud)
我正在使用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
Run Code Online (Sandbox Code Playgroud)
然后重新加载你的shell配置文件(source ~/.bash_profile或source ~/.zshrc),确认你卷曲
$ 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
Run Code Online (Sandbox Code Playgroud)
最后你会好起来的.:)
| 归档时间: |
|
| 查看次数: |
905 次 |
| 最近记录: |