spec.exclude_files='Classes/**/unused.{h,m}'#引用组件不包含Classes/**/unused.{h,m}下的文件 1. 2.
spec.resources= ['Images/*.png','Sounds/*'] exclude_files 排除在外的文件,与source_files相对 spec.ios.exclude_files = 'Classes/osx' spec.exclude_files = 'Classes/**/unused.{h,m}' preserve_paths 下载后不会被删除的文件。默认删除不匹配任何file pattern的文件。 spec.preserve_path ='IMPORTANT...
exclude_files:被排除的文件 spec.ios.exclude_files='Classes/osx’spec.exclude_files='Classes/**/unused.{h,m}' 五、Subspecs 私有库模块 subspec: //简单:subspec'Twitter'do|sp|sp.source_files='Classes/Twitter'//指定子模块路径end subspec'Pinboard'do|sp|sp.source_files='Classes/Pinboard'end//...
s.subspec 'Extend' do |ss| ss.source_files = 'Extension/Classes/UIExtend/**/*.{h,m}' ss.dependency 'Extension/MiscExtend' mrcFiles = 'Extension/Classes/UIExtend/**/UIViewController+ExchageDeallocFunction.{h,m}' ss.exclude_files = mrcFiles ss.subspec 'MRC' do |sp| sp.source_files ...
spec.resource = 'Resources/HockeySDK.bundle' #多个,注意是resources复数形式,也可以不加[ ] spec.resources = ['Images/*.png', 'Sounds/*'] exclude_files 排除在外的文件,与source_files相对 spec.ios.exclude_files = 'Classes/osx' spec.exclude_files='Classes/**/...
# Not including the public_header_files will make all headers public. # # --源代码位置--- s.source_files = "Classes", "XLJSegScrollView/Classes/XlJSegScrollviews/**/*.{h,m}" # s.exclude_files = "Classes/Exclude" # s.public_header_files = "Classes/**/*.h" ...
# Not including the public_header_files will make all headers public. # spec.source_files = "Classes", "Classes/*/.{h,m}" spec.exclude_files = "Classes/Exclude" # spec.public_header_files = "Classes/*/.h" # ――― Resources ――― # # # A list of resources included with the ...
s.source_files = 'xxxxxx/Classes/.{h,m}' s.exclude_files = 'ViewController.{h,m,xib}', '.storyboard' s.resources = "Resources" s.requires_arc = true s.ios.deployment_target = '7.0's.dependency 'UIView+Helpers' s.dependency 'UIImage-Resize' s.dependency 'UIView+Helpers' s.depen...
# Not including the public_header_files will make all headers public. # # s.source_files = "libOOMDetector/libOOMDetector", "libOOMDetector/libOOMDetector/**/*.{h,m}", "Demo/**/*.{h,m}" # s.exclude_files = "libOOMDetector/libOOMDetector/Exclude" ...
s.source_files = 'WPSAudioRecorder/Classes/**/*' # 设置不需要添加到 CocoaPods 的文件 # s.exclude_files = "xxx/Exclude" # https://blog.csdn.net/w_shuiping/article/details/80606277 # CocoaPods中依赖的第三方.a或者.framework库 s.vendored_libraries = 'WPSAudioRecorder/Classes/lame/*.a' ...