Ios – How to remove specific pod without touching other dependencies

cocoapodsios

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.

Best Solution

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

pod install --no-repo-update

enter image description here

Related Question