Add to collection
Md Riyazuddin

Md Riyazuddin

Verified

How to resolve the error CocoaPods: Failed to connect to GitHub in Ionic Ios with Capacitor

An error can happen on Macs with an old version of openssL and ruby installed since GitHub restricted the allowed cryptographic protocols when accessing repos.


The solution is to update openssl and update ruby:

 - brew install openssl
 - brew upgrade openssl
 - brew install ruby
 - brew link --overwrite ruby

Finally,  make sure your PATH environment variable does not put /usr/local/bin after $PATH, but rather before it.
Tagged with: Ionic Capacitor IOS

Comments 0

  • Sorry!! No comment posted yet. Become the first user to give comment.
Add a comment

Would you like to write for w3 sniff?

Become part of an amazing group of contributors and authors and start writing for us

Join Now
The solution is to update openssl and update ruby:

 - brew install openssl
 - brew upgrade openssl
 - brew install ruby
 - brew link --overwrite ruby

Finally,  make sure your PATH environment variable does not put /usr/local/bin after $PATH, but rather before it.
Feedback submitted successfully.