forked from zhangao0086/DKImagePickerController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DKImagePickerController.podspec
30 lines (23 loc) · 1.05 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
Pod::Spec.new do |s|
s.name = "DKImagePickerController"
s.version = "3.4.2"
s.summary = "It's a Facebook style Image Picker Controller by Swift3."
s.homepage = "https://github.com/zhangao0086/DKImagePickerController"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Bannings" => "[email protected]" }
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/zhangao0086/DKImagePickerController.git",
:tag => s.version.to_s }
s.source_files = "DKImagePickerController/**/*.{h,swift}"
s.resource = "DKImagePickerController/DKImagePickerController.bundle"
s.frameworks = "Foundation", "UIKit", "Photos"
s.requires_arc = true
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3.0' }
s.subspec 'Camera' do |camera|
camera.ios.source_files = "DKCamera/DKCamera.swift"
camera.resource = "DKCamera/DKCameraResource.bundle"
end
s.subspec 'ImageManager' do |image|
image.ios.source_files = "DKImageManager/**/*.swift"
end
end