forked from alexhillc/AXPhotoViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AXPhotoViewer.podspec
70 lines (61 loc) · 2.66 KB
/
AXPhotoViewer.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Pod::Spec.new do |s|
s.name = "AXPhotoViewer"
s.version = "1.7.1"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.summary = "An iOS/tvOS photo gallery viewer, useful for viewing a large number of photos."
s.homepage = "https://github.com/alexhillc/AXPhotoViewer"
s.author = { "Alex Hill" => "[email protected]" }
s.source = { :git => "https://github.com/alexhillc/AXPhotoViewer.git", :tag => "v#{s.version}" }
s.requires_arc = true
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |cs|
cs.ios.dependency 'AXStateButton', '>= 1.1.3'
cs.ios.dependency 'FLAnimatedImage', '>= 1.0.0'
cs.tvos.dependency 'FLAnimatedImage-tvOS', '>= 1.0.16'
cs.resources = 'Assets/*.{xcassets}'
cs.source_files = 'Source/*.{swift,h,m}',
'Source/Classes/**/*.{swift,h,m}',
'Source/Protocols/*.{swift,h,m}',
'Source/Extensions/*.{swift,h,m}',
'Source/Utilities/*.{swift,h,m}',
'Source/Integrations/SimpleNetworkIntegration.swift'
cs.frameworks = 'MobileCoreServices', 'ImageIO', 'UIKit', 'QuartzCore'
end
s.subspec 'SDWebImage' do |ss|
ss.ios.deployment_target = '8.0'
ss.tvos.deployment_target = '9.0'
ss.dependency 'AXPhotoViewer/Core'
ss.dependency 'SDWebImage', '>= 4.0.0'
ss.source_files = 'Source/Integrations/SDWebImageIntegration.swift'
end
s.subspec 'PINRemoteImage' do |ps|
ps.ios.deployment_target = '8.0'
ps.tvos.deployment_target = '9.0'
ps.dependency 'AXPhotoViewer/Core'
ps.dependency 'PINRemoteImage', '~> 3.0.0-beta.9'
ps.source_files = 'Source/Integrations/PINRemoteImageIntegration.swift'
end
s.subspec 'AFNetworking' do |as|
as.ios.deployment_target = '8.0'
as.tvos.deployment_target = '9.0'
as.dependency 'AXPhotoViewer/Core'
as.dependency 'AFNetworking/NSURLSession', '>= 3.1.0'
as.source_files = 'Source/Integrations/AFNetworkingIntegration.swift'
end
s.subspec 'Kingfisher' do |ks|
ks.ios.deployment_target = '10.0'
ks.tvos.deployment_target = '10.0'
ks.dependency 'AXPhotoViewer/Core'
ks.dependency 'Kingfisher', '>= 3.10.0'
ks.source_files = 'Source/Integrations/KingfisherIntegration.swift'
end
s.subspec 'Nuke' do |nk|
nk.ios.deployment_target = '10.0'
nk.tvos.deployment_target = '10.0'
nk.dependency 'AXPhotoViewer/Core'
nk.dependency 'Nuke', '>= 7.0'
nk.source_files = 'Source/Integrations/NukeIntegration.swift'
end
end