title: Preserve folder structure Cocoa Pods
body: <p>I have create a simple and private pod with this tutorial: <a href="http://pablin.org/2013/05/18/cocoapods-for-internal-libraries/" rel="noreferrer">http://pablin.org/2013/05/18/cocoapods-for-internal-libraries/</a></p>
  
  <p>In fact my repo has just a group of classes</p>
  
  <p>All is ok and I can install my pod perfectly. The only problem is all files are installed inside of the main folder so it doesn't preserve the folder structure.</p>
  
  <p>I have this folder structure, repository named: myRepository</p>
  
  <pre><code> Classes 
   |
   ------ foo.h and foo.m
   ------ Controller Layer
          |
          ----------- foo2.h and foo2.m
   ------ ViewLayer
          |
          ----------- foo3.h and foo3.m
  </code></pre>
  
  <p>All files are copied inside of a folder called myRepository.</p>
  
  <p>This is my podspec:</p>
  
  <pre><code>Pod::Spec.new do |s|
  
    s.name         = "fooClasses"
    s.version      = "0.0.1"
    s.summary      = "Common clases of foo"
  
    s.homepage     = "http://foo.com"
  
    s.license      = 'BSD'
    s.license      = { :type =&gt; 'Foo License', :file =&gt; 'LICENSE.txt' }
  
    s.author       = { "me" =&gt; "me@me.com" }
  
    s.platform     = :ios, '7.0'
  
    s.source       = { :git =&gt; "https://github.com/myRepository.git", :tag =&gt; "0.0.1" }
  
    s.source_files  = "**/*.{h,m}"
  
    s.requires_arc = true
  end
  </code></pre>
  
  <p>I have tried with s.preserve_path = "*" and s.preserve_path = "Classes"</p>
  
  <p>Any idea?</p>
  
  <p>Thanks!!!!!!!!</p>