addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcredit-cardcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1languagelaunch-new-window--smalllight-bulblinklocation-pinlockm-swarmSearchmailmediummessagesminusmobilemoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahooyoutube

CocoaHeads Indianapolis - iOS Developers Message Board Polls › Poll: Do you add the CocoaPods "Pods" project files to your source

Poll: Do you add the CocoaPods "Pods" project files to your source code repository?

Chris P.
user 9694242
Group Organizer
Indianapolis, IN
Post #: 2
Alex R.
alexrobinson
Cincinnati, OH
Post #: 4
One of the reasons we add the Pods project files to source control is to avoid issues with corporate firewalls on the build agents.
Chris P.
user 9694242
Group Organizer
Indianapolis, IN
Post #: 3
Some other thoughts on the subject at these links:

http://stackoverflow....­
http://www.egeek.me/2...­
http://roadfiresoftwa...­
Josh B.
jtbrown
Fishers, IN
Post #: 5
Yeah, my article (thanks, Chris, for the link) explains why to switch, but to drive the point home - I think it's very dangerous to depend on code that might not exist at some future point in time. If everything's in your repo, you always know you have what you need to build your app.

To address the concern about getting version updates - you can still do that if you check the Pods folder into version control. If you specify dependencies correctly in your Podfile, running pod install will go get those updates, and you can just commit those sources to your version control system. Or maybe I'm missing something?
Chris P.
user 9694242
Group Organizer
Indianapolis, IN
Post #: 4
Yeah, that's my thinking exactly, Josh. You control when to 'pod update'. And after doing so, you checkin the updates (in a separate commit from anything else).

One counterargument: There is nothing to prevent you (or a naive coworker) from making changes to Pods and checking those changes into your project. Other than a stern wrist-slap, is there anything to prevent that?
Powered by mvnForum

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy