Remove or uninstall library previously added : cocoapods


I added an external framework via cocoapods into my iOS application. How can i remove that library from the project?

This question is tagged with ios iphone ipad cocoapods

~ Asked on 2012-12-06 19:35:45

The Best Answer is


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:

  1. Install clean:

    $ sudo gem install cocoapods-clean
  2. Run deintegrate in the folder of the project:

    $ pod deintegrate
  3. Clean (this tool is no longer available):

    $ pod clean
  4. Modify your podfile (delete the lines with the pods you don't want to use anymore) and run:

    $ pod install


~ Answered on 2016-02-10 13:33:51


Remove lib from Podfile, then pod install again.

~ Answered on 2012-12-07 07:50:48

Most Viewed Questions: