title: Using submodule when developing a Cocoapods library
body: <p>I'm building a Cocoapods library and I have another pod library that I'm using with it.</p>
  
  <p>In the <code>podfile</code> I'm adding <code>:submodules =&gt; true</code> and the funny thing is, it works sometimes.</p>
  
  <p>The other day, Xcode was driving me crazy because at one point it stopped working, and I kept on cleaning and removing derived data. Same thing for 30 minutes while looking up on the internet, and suddenly it started working again.</p>
  
  <p>What is going on? Is this one of Xcode's bugs? How can I resolve this?</p>
  
  <p>If this is not the way to do it, how do I use an external pods library for developing another library?</p>