title: Private CocoaPod Spec with Dependency Cannot Find Dependency
body: <p>I'm trying to deploy a private CocoaPod, and I'm running into a perplexing issue with my framework's dependency graph. I cannot get my code to find a necessary class from one of its dependencies - RestKit, to be specific.</p>
  <p>I first ran <code>pod lib create</code> to create the framework, then added RestKit as a dependency of the private CocoaPod in its <code>.podpsec</code> file. Everything seemed to be working fine until I referenced one particular class in RestKit, which it cannot seem to find unless I use an <code>@import</code> statement.</p>
  <p>I've tried all of the following include's, and none of them work:</p>
  <pre><code>#import &lt;RestKit/RestKit.h&gt;
  #import &lt;RestKit/ObjectMapping.h&gt;
  #import &lt;RestKit.h&gt;
  #import &lt;ObjectMapping.h&gt;
  #import &quot;RestKit.h&quot;
  #import &quot;ObjectMapping.h&quot;
  </code></pre>
  <p>The only one that does work is <code>@import RestKit.ObjectMapping</code>. However, using this import/include statement causes <code>pod lib lint</code> to fail as it can't find RestKit. I'm a bit stuck as to what else to try here. I've remade the podspec project already, and I've tried all the includes. Has anyone else ran into this issue?</p>
  <h1>Edit:</h1>
  <p>Below is my podspec.</p>
  <pre><code>Pod::Spec.new do |s|
  
      s.name             = &quot;MyAPI&quot;
      s.version          = &quot;0.1.4&quot;
      s.summary          = &quot;My summary here.&quot;
  
      s.description      = &lt;&lt;-DESC
                          My description here.
                         DESC
  
      s.homepage         = &quot;http://example.com&quot;
  
      s.license          = 'None'
      s.author           = { &quot;Sean Olszewski&quot; =&gt; &quot;sean@somewebsite.com&quot; }
      s.source           = { :git =&gt; &quot;ssh://username@myprivateserver/path/to/private/pod/repo&quot;, :tag =&gt; s.version.to_s }
  
  
      s.platform     = :ios, '7.0'
      s.requires_arc = true
  
      s.source_files = 'Pod/Classes/**/*'
      s.resource_bundles = {
          'MyAPI' =&gt; ['Pod/Assets/*.png']
      }
  
      s.public_header_files = 'Pod/Classes/**/*.h'
      s.dependency 'RestKit', '~&gt; 0.25.0'
      s.dependency 'RKValueTransformers'
  
  end
  </code></pre>