3

I have problem with instalation cococapods. I have done following steps in terminal:

~sudo gem update --system

~sudo gem install cocoapods

and after

~pod setup

I have this error message

MacBook-Pro-Aleksandr:~ aleksandrkarpov$ pod setup
Setting up CocoaPods master repo
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1

Cloning into 'master'...

fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': Proxy CONNECT aborted

I worked before with cocoapods and it was ok. In this case I don't know what to do. Can anyone help me, please?

Alexander Karpov
  • 530
  • 1
  • 7
  • 16

1 Answers1

5

I found solution here.

I wrote only in terminal:

git config --global http.proxy
git config --global --unset http.proxy

and it resolved my problem.

Community
  • 1
  • 1
Alexander Karpov
  • 530
  • 1
  • 7
  • 16