Asif Raza
Asif Raza

Reputation: 1012

Not able to update pod. Always getting error GitHub is down

I am using pod --version 1.3.1, OS: macOS Sierra (10.12.6)

when I am trying to update pod using the command:

$ pod update
Update all pods
Updating local specs repositories
[!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down 

I am always getting above error from yesterday and still not found any proper solution.

Please help. Thanks in advance.

Upvotes: 3

Views: 2169

Answers (1)

MAhipal Singh
MAhipal Singh

Reputation: 4827

  1. Install Homebrew using below command.
/usr/bin/ruby -e "$(curl -fsSL
> https://raw.githubusercontent.com/Homebrew/install/master/install)”
  1. install ruby using — > brew install ruby
  2. sudo gem install cocoapods
  3. Check ruby version —> ruby --version
  4. which ruby
  5. pod update

Upvotes: 1

Related Questions