remove pods from xcode project terminal
sudo gem install cocoapods-deintegrate cocoapods-clean pod deintegrate pod clean rm Podfile
Here is what the above code is Doing:
1. It’s creating a Podfile with the contents of the Podfile.txt file.
2. It’s installing the cocoapods-deintegrate and cocoapods-clean gems.
3. It’s running the pod deintegrate command.
4. It’s running the pod clean command.
5. It’s deleting the Podfile.