forked from zhangao0086/DKImagePickerController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DKImagePickerController.podspec
63 lines (46 loc) · 2.21 KB
/
DKImagePickerController.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
Pod::Spec.new do |s|
s.name = "DKImagePickerController"
s.version = "4.0.0-beta2"
s.summary = "DKImagePickerController is a highly customizable, pure-Swift library."
s.homepage = "https://github.com/zhangao0086/DKImagePickerController"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Bannings" => "zhangao0086@gmail.com" }
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/zhangao0086/DKImagePickerController.git",
:tag => s.version.to_s }
s.requires_arc = true
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
s.subspec 'Core' do |core|
core.dependency 'DKImagePickerController/ImageDataManager'
core.dependency 'DKImagePickerController/Resource'
core.frameworks = "Foundation", "UIKit", "Photos"
core.source_files = "Sources/DKImagePickerController/*.{h,swift}", "Sources/DKImagePickerController/View/**/*.swift"
end
s.subspec 'ImageDataManager' do |image|
image.source_files = "Sources/DKImageDataManager/**/*.swift"
end
s.subspec 'Resource' do |resource|
resource.resource = "Sources/DKImagePickerController/Resource/DKImagePickerController.bundle"
resource.source_files = "Sources/DKImagePickerController/Resource/DKImagePickerControllerResource.swift"
end
s.subspec 'PhotoGallery' do |gallery|
gallery.dependency 'DKImagePickerController/Core'
gallery.dependency 'DKPhotoGallery'
gallery.source_files = "Sources/Extensions/DKImageExtensionGallery.swift"
end
s.subspec 'Camera' do |camera|
camera.dependency 'DKImagePickerController/Core'
camera.dependency 'DKCamera'
camera.source_files = "Sources/Extensions/DKImageExtensionCamera.swift"
end
s.subspec 'InlineCamera' do |inlineCamera|
inlineCamera.dependency 'DKImagePickerController/Core'
inlineCamera.dependency 'DKCamera'
inlineCamera.source_files = "Sources/Extensions/DKImageExtensionInlineCamera.swift"
end
s.subspec 'PhotoEditor' do |photoEditor|
photoEditor.dependency 'DKImagePickerController/Core'
photoEditor.dependency 'CLImageEditor', '0.2.0'
photoEditor.source_files = "Sources/Extensions/DKImageExtensionPhotoEditor.swift"
end
end