What goes into your .gitignore if you're using CocoaPods?

前端 未结 19 1077
南旧
南旧 2020-11-29 14:47

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

19条回答
  •  日久生厌
    2020-11-29 15:04

    Personally I do not check in the Pods directory & contents. I can't say I spent long ages considering the implications but my reasoning is something like:

    The Podfile refers to a specific tag or or commit of each dependency so the Pods themselves can be generated from the podfile, ergo they are more like an intermediate build product than a source and, hence, don't need version control in my project.

提交回复
热议问题