I added an external framework via cocoapods into my iOS application. How can i remove that library from the project?
Just rm -rf that pod's folder, and remove the line from the Podfile. Then run pod install again.
If you want to remove a Pod, edit Podfile, delete the Pod you want, and rerun pod install .
Remove lib from Podfile, then pod install
again.
The unwanted side effects of simple folder delete or installing over existing installation have been removed by a script written by Kyle Fuller - deintegrate and here is the proper workflow:
Install clean:
sudo gem install cocoapods-clean
Run deintegrate in the folder of the project:
pod deintegrate
Clean (this tool is no longer available):
pod clean
Modify your podfile (delete the lines with the pods you don't want to use anymore) and run:
pod install
Done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With