Reputation: 1012
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
Reputation: 4827
- Install Homebrew using below command.
/usr/bin/ruby -e "$(curl -fsSL
> https://raw.githubusercontent.com/Homebrew/install/master/install)”
- install ruby using — >
brew install ruby
sudo gem install cocoapods
- Check ruby version —>
ruby --version
which ruby
pod update
Upvotes: 1