ios - Remove or uninstall library previously added : cocoapods

ID : 8110

viewed : 171

Tags : iosiphoneipadcocoapodsios





Top 5 Answer for ios - Remove or uninstall library previously added : cocoapods

vote vote

100

Remove lib from Podfile, then pod install again.

vote vote

84

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 

Done.

vote vote

70

  1. Remove the library from your Podfile

  2. Run pod install on the terminal

vote vote

69

None of these worked for me. I have pod version 1.5.3 and the correct method was to remove the pods that were not longer needed from the Podfile and then run:

pod update 

This updates your Podfile.lock file from your Podfile, removes libraries that have been removed and updates all of your libraries.

vote vote

53

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

Top 3 video Explaining ios - Remove or uninstall library previously added : cocoapods







Related QUESTION?