title: Unable to find a specification for [PUBLIC POD] depended upon by [PRIVATE POD]
body: <p>I'm creating a private pod to handle all common code used in my projects. This private pod has several subspecs on his podspec and one of them depends of a well known public pod: AFNetworking.</p>
  
  <p>On my podspec I have this</p>
  
  <pre><code>Pod::Spec.new do |s|
    s.name         = "NAME"
    s.version      = "0.0.1"
    s.summary      = "SUMMARY"
    s.description  = "DESCRIPTION"
    s.homepage     = "https://myhomepage.com"
    s.license      = { :type =&gt; "MIT", :file =&gt; "LICENSE" }
    s.author       = { "Me" =&gt; "me@myemail.com" }
    s.platform     = :ios, "8.0"
    s.source       = { :git =&gt; "https://repositorywithmyprivatepodcode", :tag =&gt; s.version }
  
    s.subspec 'Core' do |cs|
      cs.source_files  = "Source/Core/**/*.{h,m}"
    end
  
    s.subspec 'Resized' do |rs|
      rs.source_files  = "Source/Resized/**/*.{h,m}"
      rs.dependency 'NAME/Core'
      rs.dependency 'AFNetworking' , '~&gt; 3.0'
    end
  
    s.subspec 'UI' do |us|
      us.source_files  = "Source/UI/**/*.{h,m}"
    end
  end
  </code></pre>
  
  <p>I have this code on the Podfile of the project where I'm trying to use the 
  "Resized" subspec </p>
  
  <pre><code>source 'https://repositorywithmyprivatepodcode'
  
  target 'TestProject' do
    pod 'Square1/Resized'
  end
  </code></pre>
  
  <p>But I'm getting this error when running <code>pod install</code></p>
  
  <pre><code>[!] Unable to find a specification for `AFNetworking` depended upon by `Square1/Resized`
  </code></pre>
  
  <p>What I'm missing here?</p>