21

I want to remove specific dependency using cocoapods. if I execute pod install, other dependencies are getting updated before removing the dependency I want to delete. I just want to remove specific pod without touching any others. And I know deleting, updating any dependency also updates others. Is there any way to solve this problem?

Actually my problem is when I modify some dependency (AFNetworking for example) and run pod install it reverts back to its original version. But I don't want to lose my changes.

Pablo Marrufo
  • 855
  • 1
  • 8
  • 17

2 Answers2

62

Remove specific pod from podfile and run below command in terminal:

pod install --no-repo-update

enter image description here

iVarun
  • 6,496
  • 2
  • 26
  • 34
-2

Remove specific pod

pictorial representation with steps detailed.

vilas deshmukh
  • 389
  • 2
  • 5