I\'ve been doing iOS development for a couple of months now and just learned of the promising CocoaPods library for dependency management.
I tried it out on a person
Pros of not checking in Pods/ to version control (in subjective order of importance):
pod install could occlude the changes.Podfile and the Pods/ directory are found quicker among teammates. If you check in Pods/ and, for example, update a version in the Podfile, but forget to run pod install or check in the changes to Pods/, you will have a much harder time noticing the source of the discrepancy. If Pods/ isn't checked in, you always need to run pod install anyway.JAR files, .venv/ (virtual environments), and node_modules/ are never included in version control. If we were completely agnostic about the question, not checking in Pods would be the default based on precedent.Cons of not checking in the Pods/
pod install when switching branches, or reverting commits.pod install.pod install, and the source of the pods must be available.In summary, not including the Pods directory is a guardrail against more bad practices. Including the Pods directory makes running the project easier. I prefer the former over the latter. You won't need to debrief every new person on a project about "what not to do" if there is not a possibility for making certain mistakes in the first place. I also like the idea of having a separate version control for the Pods which alleviates the Cons.