<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cocoapods on The Dangling Pointer</title><link>https://aaron.blog/tags/cocoapods/</link><description>Recent content in Cocoapods on The Dangling Pointer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 01 Apr 2014 19:53:25 +0000</lastBuildDate><atom:link href="https://aaron.blog/tags/cocoapods/index.xml" rel="self" type="application/rss+xml"/><item><title>Checking in CocoaPods files</title><link>https://aaron.blog/checking-in-cocoapods-files/</link><pubDate>Tue, 01 Apr 2014 19:53:25 +0000</pubDate><guid>https://aaron.blog/checking-in-cocoapods-files/</guid><description>&lt;p&gt;I've gone back and forth on the debate with whether or not we should be checking in the dependencies for a project supplied by CocoaPods.  In the past I felt it was best to only check in the Podfile and maybe the lock file.  I believe I've finally made a decision with recent experiences and my development practices with Git.&lt;/p&gt;&lt;p&gt;I'm checking in the whole effing workspace.&lt;/p&gt;&lt;p&gt;Why?&lt;/p&gt;&lt;!--kg-card-begin: html--&gt;&lt;ul&gt;
&lt;li&gt;Every branch, especially master, should be compilable and archivable up to a point.
&lt;ul&gt;
&lt;li&gt;Caveat 1: Xcode is a piece of shit sometimes and will break things because it can between versions.&lt;/li&gt;
&lt;li&gt;Caveat 2: Provisioning Profiles.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;CocoaPods is a well-maintained tool, however, Specs are a crap-shoot.
&lt;ul&gt;
&lt;li&gt;Specs can disappear.&lt;/li&gt;
&lt;li&gt;Specs can be unofficially maintained.&lt;/li&gt;
&lt;li&gt;Specs can be wrong.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Checking in your Pods directory ensures the best possible snapshot of the pre-binary code.
&lt;ul&gt;
&lt;li&gt;Forcing a pod install every time someone checks out code doesn't ensure the same state of code is maintained for testing bugs in previous versions.&lt;/li&gt;
&lt;li&gt;You may decide to drop Pods support and forget how to use it.&lt;/li&gt;
&lt;li&gt;Wouldn't it be nice to do diffs on your dependency classes?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Xcode Bots doesn't work well enough yet with CocoaPods for me to want to install Pods every build
&lt;ul&gt;
&lt;li&gt;I'm also not sold on Xcode Bots itself - it's quite unreliable and likes to smoke my server's CPU.&lt;/li&gt;
&lt;li&gt;CocoaPods needs to not be a hinderance - its pretty&amp;nbsp;innocuous when the risky work (installing Pods) is done and checked in.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;!--kg-card-end: html--&gt;&lt;p&gt;That sums up my thoughts.  I primarily work on &lt;a href="https://github.com/wordpress-mobile/WordPress-iOS" rel="noopener"&gt;WordPress for iOS&lt;/a&gt; which is a heavily forked and contributed to repository.  I don't think the project could be a success with the amount of branching and pull requests performed if we didn't check in the Pods directory.&lt;/p&gt;</description></item></channel></rss>