If you want to remove CocoaPods from your iOS project, you can do it very easy with the Deintegrate Plugin and Clean Plugin.
To install the Deintegrate Plugin paste the following line on your terminal:
sudo gem install cocoapods-deintegrate
..and for the Clean Plugin:
sudo gem install cocoapods-clean
Go to your iOS project path:
cd (path of your project)
And type the following lines one by one and press Enter
pod deintegrate pod clean rm Podfile
That’s it! CocoaPods have been removed completely from your project!
If you have any questions, please feel free to leave a comment below