forked from lincf0912/LFImagePickerController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LFImagePickerController.podspec
43 lines (38 loc) · 2.02 KB
/
LFImagePickerController.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Pod::Spec.new do |s|
s.name = 'LFImagePickerController'
s.version = '1.6.2'
s.summary = 'A clone of UIImagePickerController, support picking multiple photos、 video and edit photo'
s.homepage = 'https://github.com/lincf0912/LFImagePickerController'
s.license = 'MIT'
s.author = { 'lincf0912' => '[email protected]' }
s.platform = :ios
s.ios.deployment_target = '7.0'
s.source = { :git => 'https://github.com/lincf0912/LFImagePickerController.git', :tag => s.version, :submodules => true }
s.requires_arc = true
s.default_subspec = 'Core'
s.subspec 'Core' do |ss|
ss.resources = 'LFImagePickerController/LFImagePickerController/class/*.bundle'
ss.source_files = 'LFImagePickerController/LFImagePickerController/class/*.{h,m}','LFImagePickerController/LFImagePickerController/class/**/*.{h,m}'
ss.public_header_files = 'LFImagePickerController/LFImagePickerController/class/*.h','LFImagePickerController/LFImagePickerController/class/manager/*.h','LFImagePickerController/LFImagePickerController/class/model/*.h','LFImagePickerController/LFImagePickerController/class/model/**/*.h','LFImagePickerController/LFImagePickerController/class/define/LFImagePickerPublicHeader.h'
ss.dependency 'LFImagePickerController/LFGifPlayer'
ss.dependency 'LFImagePickerController/LFToGIF'
end
# LFGifPlayer模块
s.subspec 'LFGifPlayer' do |ss|
ss.source_files = 'LFImagePickerController/LFImagePickerController/vendors/LFGifPlayer/*.{h,m}'
ss.public_header_files = 'LFImagePickerController/LFImagePickerController/vendors/LFGifPlayer/LFGifPlayerManager.h'
end
# LFToGIF模块
s.subspec 'LFToGIF' do |ss|
ss.source_files = 'LFImagePickerController/LFImagePickerController/vendors/LFToGIF/*.{h,m}'
ss.public_header_files = 'LFImagePickerController/LFImagePickerController/vendors/LFToGIF/LFToGIF.h'
end
# LFMediaEdit模块
s.subspec 'LFMediaEdit' do |ss|
ss.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) LF_MEDIAEDIT=1'
}
ss.dependency 'LFImagePickerController/Core'
ss.dependency 'LFMediaEditingController'
end
end