相关疑难解决方法(0)

pod install返回致命错误:SSL证书问题?

我刚按照以下说明安装了CocoaPods:

现在我打开了一个包含CocoaPods的Xcode项目,打开终端,进入该项目文件夹并根据需要键入"pod install",我收到错误:

$ pod install
Setting up CocoaPods master repo
[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master

Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': SSL certificate problem: Invalid certificate chain

/Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/lib/claide/command.rb:217:in `rescue in run': undefined method `verbose?' for nil:NilClass (NoMethodError)
    from /Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/lib/claide/command.rb:210:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command.rb:51:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/bin/pod:24:in `<top (required)>'
    from /usr/bin/pod:23:in `load'
    from /usr/bin/pod:23:in `<main>'
Run Code Online (Sandbox Code Playgroud)

我不知道这是什么.有人能帮我吗?这是我第一次尝试在OS X Mavericks上使用CocoaPods做任何事情.

谢谢!

git ssl curl cocoapods

8
推荐指数
2
解决办法
1万
查看次数

curl: (60) SSL 证书问题:在代理后面上传时

我需要在公司代理后面进行卷曲上传。根据我尝试的网站,我遇到了以下两种类型的问题,

  • 卷曲:(35)错误:1408F10B:SSL例程:ssl3_get_record:版本号错误
  • curl: (60) SSL 证书问题:无法获取本地颁发者证书

详细信息如下:

情况1:

. . . 
< HTTP/1.1 200 Connection established
< Proxy-agent: CCProxy
< 
* Proxy replied 200 to CONNECT request
* CONNECT phase completed!
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* CONNECT phase completed!
* CONNECT phase completed!
* error:1408F10B:SSL routines:ssl3_get_record:wrong version number
* Closing connection 0
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version …
Run Code Online (Sandbox Code Playgroud)

ssl upload proxy curl zscaler

7
推荐指数
1
解决办法
2万
查看次数

无法使用 brew 安装任何东西,错误:无法下载资源“git--html”

每当我尝试运行时brew install <app>,例如brew install git,我都会收到以下错误:

$ brew install git
Updating Homebrew...
Warning: You are using macOS 10.10.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.

==> Downloading https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.xz
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/fbd8967fd8256b2e1856b74e8ff0f3d8371cb652c5768e47649613a69d4dc841--gettext-0.21.tar.xz
==> Downloading …
Run Code Online (Sandbox Code Playgroud)

homebrew curl openssl ssl-certificate osx-yosemite

6
推荐指数
2
解决办法
9395
查看次数