how to remove cocoapods from project code example
Example 1: uninstall cocoapods
sudo gem uninstall cocoapods
sudo gem list cocoapods-core
gem list cocoapods
Example 2: remove pods from xcode project terminal
sudo gem install cocoapods-deintegrate cocoapods-clean
pod deintegrate
pod clean
rm Podfile