Remove or uninstall library previously added : cocoapods

4 Solutions Collect From Internet About “Remove or uninstall library previously added : cocoapods”

Remove lib from Podfile, then pod install again.

Since the accepted answer’s side effects have been removed by a script written by Kyle Fuller – deintegrate, I’ll post the proper workflow here:

  1. Install deintegrate and clean:

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

    $ pod deintegrate

  3. Clean:

    $ pod clean

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

    $ pod install

Done.

  1. Remove pod name(which to remove) from Podfile and then
  2. Open Terminal, set project folder path
  3. Run pod install –no-integrate
  1. Remove the library from your Podfile

  2. Run pod install on the terminal