How to remove specific pod without touching other dependencies

二次信任 提交于 2019-12-03 07:46:06

问题


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.


回答1:


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

pod install --no-repo-update




回答2:


pictorial representation with steps detailed.



来源:https://stackoverflow.com/questions/50265548/how-to-remove-specific-pod-without-touching-other-dependencies

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!