forked from AnyImageKit/AnyImageKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnyImageKit.podspec
44 lines (38 loc) · 1.64 KB
/
AnyImageKit.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
Pod::Spec.new do |s|
s.name = 'AnyImageKit'
s.version = '0.7.3'
s.license = 'MIT'
s.summary = 'AnyImageKit is a toolbox for picking and editing photos.'
s.homepage = 'https://github.com/AnyImageProject/AnyImageKit'
s.authors = {
'anotheren' => 'liudong.edward@gmail.com',
'RayJiang16' => '1184731421@qq.com',
}
s.source = { :git => 'https://github.com/AnyImageProject/AnyImageKit.git', :tag => s.version }
s.ios.deployment_target = '10.0'
s.swift_versions = ['5.0', '5.1']
s.frameworks = 'Foundation'
s.default_subspecs = 'Core', 'Picker', 'Editor', 'Capture'
s.subspec 'Core' do |core|
core.source_files = 'Sources/Core/**/*.swift'
core.resources = 'Sources/Core/Resources/**/*'
core.dependency 'SnapKit'
end
s.subspec 'Picker' do |picker|
picker.source_files = 'Sources/Picker/**/*.swift'
picker.resources = 'Sources/Picker/Resources/**/*'
picker.dependency 'AnyImageKit/Core'
end
s.subspec 'Editor' do |editor|
editor.source_files = 'Sources/Editor/**/*.swift'
editor.resources = 'Sources/Editor/Resources/**/*'
editor.dependency 'AnyImageKit/Core'
editor.pod_target_xcconfig = { 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'ANYIMAGEKIT_ENABLE_EDITOR' }
end
s.subspec 'Capture' do |capture|
capture.source_files = 'Sources/Capture/**/*.swift'
capture.resources = 'Sources/Capture/Resources/**/*'
capture.dependency 'AnyImageKit/Core'
capture.pod_target_xcconfig = { 'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'ANYIMAGEKIT_ENABLE_CAPTURE' }
end
end