title: Create podspec to ship static library
body: <p>I'm trying to ship a static library via cocoapods. I was given the library without any build directions right now its a drop in to my iOS app. I don't need to build the library for each application using it, rather just download the lib files and include the headers. Is there a way to do this with a podspec file?</p>
  
  <p>Here's what I have thus far:</p>
  
  <pre><code>Pod::Spec.new do |s|
    s.name         = "RTMPLib Library"
    s.version      = "1.0.0"
    s.summary      = "RTMPLib Library"
    s.homepage     = "https://github.com/jumper/RTMPLib.git"
    s.license      = { :type =&gt; 'MIT', :file =&gt; 'LICENSE' }
    s.author       = { "jon morehouse" =&gt; "jon@jumperapp.com" }
    s.source       = { :git =&gt; "https://github.com/jumper/RTMPLib.git", :tag =&gt; "#{s.version}" }
    s.platform     = :ios, '7.0'
  
    # arc components
    s.requires_arc = false
    s.preserve_paths = 'inc/rtmplib/*.h'
    s.vendored_libraries = 'lib/rtmplib.a'
    s.libraries = 'rtmplib'
    s.xcconfig = { 'HEADER_SEARCH_PATHS' =&gt; '${PODS_ROOT}/#{s.name}/inc/rtmplib/**'}
    s.preserve_paths = 'L.framework'
  end
  </code></pre>
  
  <p>The actual code structure can be found here: <a href="http://github.com/jumper/RTMPLib">Git Repo</a></p>