-
Notifications
You must be signed in to change notification settings - Fork 7
/
ImageSource.podspec
51 lines (45 loc) · 1.65 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
Pod::Spec.new do |s|
s.name = 'ImageSource'
s.module_name = 'ImageSource'
s.version = '4.1.2'
s.summary = 'Image abstraction toolkit'
s.homepage = 'https://github.com/avito-tech/ImageSource'
s.license = 'MIT'
s.author = { 'Andrey Yutkin' => 'ayutkin@avito.ru' }
s.source = { :git => 'https://github.com/avito-tech/ImageSource.git', :tag => "#{s.version}" }
s.platform = :ios, '12.0'
s.ios.deployment_target = '12.0'
s.swift_version = '5.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', 'CoreServices'
ls.dependency 'ImageSource/Core'
ls.source_files = 'ImageSource/Local/*'
end
s.subspec 'Remote' do |rs|
rs.frameworks = 'ImageIO', 'CoreServices'
rs.dependency 'ImageSource/Core'
rs.dependency 'ImageSource/UIKit'
rs.source_files = 'ImageSource/Remote/*'
end
s.subspec 'AlamofireImage' do |ai|
ai.dependency 'ImageSource/Remote'
ai.dependency 'AlamofireImage', '~> 4.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