可可PODS安装

时间:2018-06-29 11:23:30

标签: ios xcode git cocoapods

我尝试了所有其他帖子中的所有内容,甚至创建了一个github帐户。创建一个存储库。按照他们的建议将其命名为随机,然后将其插入终端。因此,如果您可以按照严格的标准将其分解。.我迷路了,不能继续上我的课,直到我安装了Cocoapods。就是这样

Alexanders-MacBook-Air:~ alex_katona$ sudo gem install cocoapods
Password:
Successfully installed cocoapods-1.5.3
Parsing documentation for cocoapods-1.5.3
Done installing documentation for cocoapods after 4 seconds
1 gem installed
Alexanders-MacBook-Air:~ alex_katona$ pod setup
Setting up CocoaPods master repo
  $ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress
  Cloning into 'master'...

****这里****

 fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress
Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

1 个答案:

答案 0 :(得分:0)

您可以尝试:

cd ~/.cocoapods/repos/
git clone https://github.com/CocoaPods/Specs.git master

这要么有效,要么至少应该显示网络连接问题。