forked from avito-tech/Paparazzo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImageSource.podspec
56 lines (49 loc) · 1.75 KB
/
ImageSource.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 = 'ImageSource'
s.module_name = 'ImageSource'
s.version = '1.1.0'
s.summary = 'ImageSource by Avito'
s.homepage = 'https://github.com/avito-tech/Paparazzo'
s.license = 'Avito'
s.author = { 'Andrey Yutkin' => '[email protected]' }
s.source = { :git => 'https://github.com/avito-tech/Paparazzo.git', :tag => "#{s.version}" }
s.platform = :ios, '8.0'
s.ios.deployment_target = "8.0"
s.requires_arc = true
s.default_subspec = 'Core', 'PHAsset', 'Local', 'Remote', 'AlamofireImage'
s.subspec 'Core' do |cs|
cs.frameworks = 'CoreGraphics'
cs.source_files = 'ImageSource/Core/*'
end
s.subspec 'PHAsset' do |ps|
ps.frameworks = 'Photos'
ps.dependency 'ImageSource/Core'
ps.source_files = 'ImageSource/PHAsset/*'
end
s.subspec 'Local' do |ls|
ls.frameworks = 'ImageIO', 'MobileCoreServices'
ls.dependency 'ImageSource/Core'
ls.source_files = 'ImageSource/Local/*'
end
s.subspec 'Remote' do |rs|
rs.frameworks = 'ImageIO', 'MobileCoreServices'
rs.dependency 'ImageSource/Core'
rs.dependency 'ImageSource/UIKit'
rs.source_files = 'ImageSource/Remote/*'
end
s.subspec 'SDWebImage' do |sw|
sw.dependency 'ImageSource/Remote'
sw.dependency 'SDWebImage', '~> 3.8'
sw.source_files = 'ImageSource/SDWebImage/*'
end
s.subspec 'AlamofireImage' do |ai|
ai.dependency 'ImageSource/Remote'
ai.dependency 'AlamofireImage', '~> 3'
ai.source_files = 'ImageSource/AlamofireImage/*'
end
s.subspec 'UIKit' do |uis|
uis.frameworks = 'UIKit'
uis.dependency 'ImageSource/Core'
uis.source_files = 'ImageSource/UIKit/*'
end
end