-
Notifications
You must be signed in to change notification settings - Fork 15
/
HXPhotoPickerObjC.podspec
56 lines (47 loc) · 2.18 KB
/
HXPhotoPickerObjC.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
44
45
46
47
48
49
50
51
52
53
54
55
56
Pod::Spec.new do |s|
s.name = "HXPhotoPickerObjC"
s.version = "3.3.4"
s.summary = "照片/视频选择器 - 支持LivePhoto、GIF图片选择、自定义编辑照片/视频、3DTouch预览、浏览网络图片/网络视频 功能 - Imitation weibo photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, browse the web image function"
s.homepage = "https://github.com/SilenceLove/HXPhotoPickerObjC"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "SilenceLove" => "294005139@qq.com" }
s.platform = :ios, "8.0"
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/SilenceLove/HXPhotoPickerObjC.git", :tag => "#{s.version}" }
s.framework = 'UIKit','Photos','PhotosUI'
s.requires_arc = true
s.default_subspec = 'Default'
s.subspec 'Default' do |de|
de.source_files = "HXPhotoPicker/**/*.{h,m}"
de.resources = "HXPhotoPicker/Resources/*.{bundle}"
end
s.subspec 'SDWebImage' do |sd|
sd.source_files = "HXPhotoPicker/**/*.{h,m}"
sd.dependency 'SDWebImage', '~> 5.0'
sd.resources = "HXPhotoPicker/Resources/*.{bundle}"
end
s.subspec 'SDWebImage_AF' do |sd_af|
sd_af.source_files = "HXPhotoPicker/**/*.{h,m}"
sd_af.dependency 'SDWebImage', '~> 5.0'
sd_af.dependency 'AFNetworking'
sd_af.resources = "HXPhotoPicker/Resources/*.{bundle}"
end
s.subspec 'YYWebImage' do |yy|
yy.source_files = "HXPhotoPicker/**/*.{h,m}"
yy.dependency 'YYWebImage', '~> 1.0.5'
yy.resources = "HXPhotoPicker/Resources/*.{bundle}"
end
s.subspec 'YYWebImage_AF' do |yy_af|
yy_af.source_files = "HXPhotoPicker/**/*.{h,m}"
yy_af.dependency 'YYWebImage', '~> 1.0.5'
yy_af.dependency 'AFNetworking'
yy_af.resources = "HXPhotoPicker/Resources/*.{bundle}"
end
s.subspec 'CustomItem' do |customItem|
customItem.source_files = "HXPhotoPicker/**/*.{h,m}"
customItem.dependency 'SDWebImage', '~> 5.0'
customItem.dependency 'AFNetworking'
customItem.resources = "HXPhotoPicker/Resources/*.{bundle}"
customItem.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'HXPhotoViewCustomItemSizeEnable=1'}
end
end