remove cocoapods from mac code example
Example 1: uninstall cocoapods
sudo gem uninstall cocoapods
sudo gem list cocoapods-core
gem list cocoapods
Example 2: remove cocoapods swiftr
sudo gem install cocoapods-deintegrate
sudo gem uninstall cocoapods
sudo gem list cocoapods-core
gem list cocoapods
sudo gem install cocoapods-deintegrate