remove pods and reinstall code example

Example 1: remove pods from xcode project terminal

sudo gem install cocoapods-deintegrate cocoapods-clean
pod deintegrate
pod clean
rm Podfile

Example 2: sudo gem install cocoapods-deintegrate cocoapods-clean

sudo gem install cocoapods-deintegrate
sudo gem install cocoapods-clean
pod deintegrate
pod clean
rm Podfile

Example 3: remove cocoapods swiftr

sudo gem install cocoapods-deintegrate

Example 4: remove pod and install again

$ pod clean

Example 5: remove pod and install again

Pod Instaliation