-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathPaparazzo.podspec
57 lines (48 loc) · 2.1 KB
/
Paparazzo.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
Pod::Spec.new do |s|
s.name = 'Paparazzo'
s.module_name = 'Paparazzo'
s.version = '7.0.2'
s.summary = "iOS component for picking and editing photos from camera and user's photo library"
s.homepage = 'https://github.com/avito-tech/Paparazzo'
s.license = 'MIT'
s.author = { 'Andrey Yutkin' => 'ayutkin@avito.ru' }
s.source = { :git => 'https://github.com/avito-tech/Paparazzo.git', :tag => "#{s.version}" }
s.platform = :ios, '14.0'
s.ios.deployment_target = '14.0'
s.swift_version = '5.0'
s.requires_arc = true
s.frameworks = 'UIKit', 'Photos', 'ImageIO', 'CoreServices', 'GLKit', 'OpenGLES', 'CoreMedia', 'CoreVideo', 'AVFoundation', 'QuartzCore'
s.dependency 'JNWSpringAnimation'
s.dependency 'ImageSource/Core', '~> 4.0'
s.dependency 'ImageSource/PHAsset', '~> 4.0'
s.dependency 'ImageSource/Local', '~> 4.0'
s.dependency 'ImageSource/Remote', '~> 4.0'
s.default_subspec = 'Core', 'Marshroute', 'AlamofireImage'
s.subspec 'AlamofireImage' do |ss|
ss.dependency 'Paparazzo/Core'
ss.dependency 'ImageSource/AlamofireImage', '~> 4.0'
end
s.subspec 'SDWebImage' do |ss|
ss.dependency 'Paparazzo/Core'
ss.dependency 'ImageSource/SDWebImage', '~> 4.0'
end
s.subspec 'Resources' do |ss|
ss.ios.resource_bundle = {
'Paparazzo' => [
'Sources/PaparazzoCore/Resources/Shader/CameraShader.metallib',
'Sources/PaparazzoCore/Resources/Localization/*.lproj',
'Sources/PaparazzoCore/Resources/Assets/Assets.xcassets'
]
}
end
s.subspec 'Core' do |ss|
ss.dependency 'Paparazzo/Resources'
ss.source_files = 'Sources/PaparazzoCore/**/*.swift', 'Sources/ObjCExceptionsCatcher/**/*'
end
s.subspec 'Marshroute' do |ss|
ss.dependency 'Paparazzo/Resources'
ss.dependency 'Marshroute'
ss.source_files = 'Sources/PaparazzoCore/**/*.swift', 'Sources/Paparazzo/**/*.swift', 'Sources/ObjCExceptionsCatcher/**/*'
ss.exclude_files = 'Sources/Paparazzo/Core/**/*'
end
end