Zachowaj strukturę folderów Cocoa Pods

W tym samouczku stworzyłem prosty i prywatny pod:http://pablin.org/2013/05/18/cocoapods-for-internal-libraries/

W rzeczywistości moje repo ma tylko grupę klas

Wszystko jest w porządku i mogę idealnie zainstalować mój pod. Jedynym problemem jest to, że wszystkie pliki są zainstalowane w głównym folderze, więc nie zachowuje struktury folderów.

Mam tę strukturę folderów, repozytorium o nazwie: myRepository

 Classes 
 |
 ------ foo.h and foo.m
 ------ Controller Layer
        |
        ----------- foo2.h and foo2.m
 ------ ViewLayer
        |
        ----------- foo3.h and foo3.m

Wszystkie pliki są kopiowane do folderu o nazwie myRepository.

To jest mój podspec:

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 => 'Foo License', :file => 'LICENSE.txt' }

  s.author       = { "me" => "[email protected]" }

  s.platform     = :ios, '7.0'

  s.source       = { :git => "https://github.com/myRepository.git", :tag => "0.0.1" }

  s.source_files  = "**/*.{h,m}"

  s.requires_arc = true
end

Próbowałem z s.preserve_path = "*" i s.preserve_path = "Classes"

Dowolny pomysł?

Dzięki!!!!!!!!

questionAnswers(2)

yourAnswerToTheQuestion