title: How to add a private CocoaPod as a dependency in another pod .podspec file?
body: <p>I am working on a private pod and that is dependent on other private pod. So i just want to mention it in my pod .podspec file.</p>
  
  <p>Its  looks like this in .podspec file of pod2.</p>
  
  <pre><code>s.dependency 'Pod1', '~&gt; 0.0.1' , :git =&gt; 'https://github.com/MY_COMPANY/pod1.git', :commit =&gt; '9f9f4fe5b5959e0f2ea89e472eccf7aea6f37eea'
  </code></pre>
  
  <p>And i came to know that "there is no :git and :commit options in podspec dependency specifier" so if not then how to achieve that thing?</p>