title: pod spec lint fails when pod lib lint succeeds. 'vendored_frameworks' pattern did not match any file
body: <p>I made an framework for which I'd like to distribute via CocoaPods. </p>
  
  <p>I'm not sure if I'm doing something stupid. I've included a completed .framework folder in the base directory and I'd like that to be the source for my pod. When I run "pod lib lint", everything seems to be fine but when I run "pod spec lint" I get:</p>
  
  <pre><code>- ERROR | [iOS] The `vendored_frameworks` pattern did not match any file.
  </code></pre>
  
  <p>I've tried adding preserve_paths after looking through stackoverflow but that doesn't appear to resolve my issue. From reading the cocoapods document, vendored_frameworks is "The paths of the framework bundles that come shipped with the Pod" so I think it seems fine to use it here.</p>
  
  <p>Here is my podspec file:</p>
  
  <pre><code>Pod::Spec.new do |s|
    s.name             = "X"
    s.version          = "1.0"
    s.summary          = "Summary"
    s.description      = "Description here"
    s.homepage         = "http://www.valid_homepage.com/"
    s.license          = { :type =&gt; "Commercial", :text =&gt; "See https://www.license_here" }
    s.author           = { "Author" =&gt; "author@website.com" }
    s.source           = { :http =&gt; "https://storage.googleapis.com/path/to/file" }
    s.social_media_url = 'https://twitter.com/handle'
    s.platform     = :ios, '7.0'
    s.requires_arc = true
    s.preserve_paths = 'X.framework'
    s.vendored_frameworks = 'X.framework'
    s.frameworks = 'SystemConfiguration'
    s.library  = 'resolv'
  end
  </code></pre>
  
  <p>Any insights would be greatly appreciated! Thanks!</p>
  
  <p>The .framework directory has the structure</p>
  
  <pre><code>Framework
    - Headers (Shortcut)
    - LibraryFile (Shortcut)
    - Versions
      - A
        - Headers (Contains .h file)
        - LibraryFile
      - Current (Shortcut to A directory)
  </code></pre>