pod deintegrate and install code example
Example 1: pod deintegrate
sudo gem install cocoapods-deintegrate cocoapods-clean
pod deintegrate
pod clean
rm Podfile
Example 2: remove pods from xcode project terminal
sudo gem install cocoapods-deintegrate cocoapods-clean
pod deintegrate
pod clean
rm Podfile