search

Home  >  Q&A  >  body text

ios - 私有pod库如何为文件根据物理目录分割逻辑目录?

在创建私有 cocoaPods 后, 我是这样设置依赖代码文件:

s.source_files = 'SCPublicLibrary/**/*.{h,m}'

只有形成的的结果就是物理路径分组的文件pod下来后都堆放在一个文件夹中.

是否有办法能够让项目中的逻辑目录结构与实际的物理目录结构相同?

PHP中文网PHP中文网2771 days ago958

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:31:05

    It seems that you need to use a sub-podspec to achieve your effect

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:31:05

    Just create local development pods
    Set it like this in the Podfile:
    pod 'SCPublicLibrary', :path => 'SCPublicLibrary/**/*'

    reply
    0
  • Cancelreply