forked from alexhillc/AXPhotoViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAXPhotoViewer.podspec
51 lines (44 loc) · 2.09 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
Pod::Spec.new do |s|
s.name = "AXPhotoViewer"
s.version = "1.1.0"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.summary = "An iPhone/iPad 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.platform = :ios, '9.0'
s.requires_arc = true
s.default_subspec = 'Lite'
s.subspec 'Core' do |cs|
cs.dependency 'FLAnimatedImage', '>= 1.0.0'
cs.source_files = 'Source/Classes/*.{swift,h,m}',
'Source/Protocols/*.{swift,h,m}',
'Source/Extensions/*.{swift,h,m}'
cs.frameworks = 'UIKit', 'MobileCoreServices'
end
s.subspec 'Lite' do |ls|
ls.frameworks = 'ImageIO'
ls.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -D AX_LITE_SUPPORT' }
ls.dependency 'AXPhotoViewer/Core'
ls.source_files = 'Source/Integrations/SimpleNetworkIntegration.swift'
end
s.subspec 'SDWebImage' do |ss|
ss.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -D AX_SDWEBIMAGE_SUPPORT' }
ss.dependency 'AXPhotoViewer/Core'
ss.source_files = 'Source/Integrations/SDWebImageIntegration.swift'
ss.dependency 'SDWebImage', '>= 4.0.0'
end
s.subspec 'PINRemoteImage' do |ps|
ps.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -D AX_PINREMOTEIMAGE_SUPPORT' }
ps.dependency 'AXPhotoViewer/Core'
ps.dependency 'PINRemoteImage/FLAnimatedImage', '~> 3.0.0-beta.9'
ps.source_files = 'Source/Integrations/PINRemoteImageIntegration.swift'
end
s.subspec 'AFNetworking' do |as|
as.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -D AX_AFNETWORKING_SUPPORT' }
as.frameworks = 'ImageIO'
as.dependency 'AXPhotoViewer/Core'
as.dependency 'AFNetworking', '>= 3.1.0'
as.source_files = 'Source/Integrations/AFNetworkingIntegration.swift'
end
end