title: No header files generated - when cocoapods packaging a framework
body: <p>I try to package a static library with cocoapods . but I only get a file named "libLTVoiceAssistant.a"</p>
  
  <p>The project was generated via <code>pod lib create LTVoiceAssistant</code> ,and then ,I moved my codes and some frameworks into it . And <code>pod lib lint LTVoiceAssistant.podspec</code> passed ... well , you guys must know that because I've packaged a static library.
  here is my spec file content:</p>
  
  <pre><code>    Pod::Spec.new do |s|
  
       s.version          = '0.1.3'
  
       s.source           = { :git =&gt; '/Users/kenny/Documents/LTVoiceAssistant', :tag =&gt; s.version.to_s }
  
  
       s.ios.deployment_target = '8.0'
  
      s.requires_arc = true
      s.resource = 'LTVoiceAssistant/Classes/Cells/*.xib'
      s.source_files = 'LTVoiceAssistant/Classes/**/*.{c,h,hh,m,mm,cpp,a}'
  
     s.resource_bundles = {
        'LTVoiceAssistantBundle' =&gt; ['LTVoiceAssistant/Assets/LTVoiceAssistantBundle/**/*']
       }
     s.public_header_files = 'LTVoiceAssistant/Classes/PublicHeader/*.h'
     s.ios.vendored_libraries = 'LTVoiceAssistant/Classes/libBDVoiceRecognitionClient.a',
                           'LTVoiceAssistant/Classes/libBDSSpeechSynthesizer.a'
  
     s.ios.vendored_frameworks = 'LTVoiceAssistant/Classes/*.framework'
  
     s.frameworks = 'Foundation','UIKit','JavaScriptCore','CoreText','CoreFoundation',
                'CoreGraphics','GLKit','QuartzCore','OpenGLES','CoreLocation','CFNetwork',
                'Security','CoreTelephony','SystemConfiguration','AVFoundation','AudioToolbox'
  
      s.libraries = 'iconv.2.4.0','z.1.2.5','stdc++.6.0.9','c++','z.1'
      s.preserve_paths = 'LTVoiceAssistant/Classes/*.framework'
  
      s.dependency 'Aspects'
      s.dependency 'Objection', '1.6.1'
      s.dependency 'ReactiveCocoa','2.5'
      s.dependency 'MJExtension'
      s.dependency 'Masonry'
      s.dependency 'AFNetworking'
      s.dependency 'CocoaLumberjack','3.0'
      s.dependency 'INTULocationManager'
     end
  </code></pre>
  
  <p>And I used <code>pod package LTVoiceAssistant.podspec --library --force</code> command to package. Was I missed something ?</p>
  
  <p>My project tree:
  <a href="https://i.stack.imgur.com/xnwkH.jpg" rel="nofollow noreferrer">project tree</a>
  FYI : I also try to generage framework type ,use <code>pod package LTVoiceAssistant.podspec  --force</code> ,well ,header files appeared .
  and then ,I new a test project ,and try to import header, well, error comes ...
  <a href="https://i.stack.imgur.com/wKh2h.jpg" rel="nofollow noreferrer">not found</a></p>