'Error during install cocoapods in BigSur, and unable to add cocoa pods

Mac OS: BigSur (11.6.1 (20G224)) Xcode Version: 13.2.1 (13C100) Error shown in the picture

Image



Solution 1:[1]

You can try with this command sudo gem install cocoapods -v version —source http://rubygems.org

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tina Detroja