Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 284
Asif Raza Avatar asked Jan 19 '26 17:01

Asif Raza


1 Answers

  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
like image 59
MAhipal Singh Avatar answered Jan 21 '26 06:01

MAhipal Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!