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

前端 未结 19 1042
南旧
南旧 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 14:53

    I check in everything. (Pods/ and Podfile.lock.)

    I want to be able to clone the repository and know that everything will just work as it did last time I used the app.

    I'd rather vendor things in than risk having different results that could be caused by a different version of the gem, or someone rewriting history in the Pod's repository, etc.

提交回复
热议问题