title: Unable to find a specification in CocoaPods
body: <p>I cannot understand why the Cocoapod is unable to find the pod specification I created when I run <code>pod install</code>. Could someone help me solve this trouble?</p>
  <p>I'm defining a subspec in my library podspec file like this:</p>
  <pre><code>s.subspec 'mysubspec' do |c|
    c.dependency 'ABC','1.0.0'
  end 
  </code></pre>
  <p>This dependency ABC is listed in the library Podfile:</p>
  <pre><code>pod 'ABC', :git =&gt; 'git@github.com:myrepo/Podspecs.git', :branch =&gt; 'xyz'
  </code></pre>
  <p>The Podspec file <code>ABC.podspec</code> in the branch xyz of myrepo/Podspecs seems like this:</p>
  <pre><code>Pod::Spec.new do |s|
    s.name         = &quot;ABC&quot;
    s.version      = &quot;1.0.0&quot;
    s.source       = { :git =&gt; &quot;git@github.com:myrepo/Podspecs.git&quot;, :branch =&gt; &quot;xyz&quot; }
  end
  </code></pre>
  <p>The error is <code>[!] Unable to find a specification for ABC (= 1.0.0)</code></p>