-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDDCameraViewController.podspec
More file actions
63 lines (50 loc) · 2.93 KB
/
DDCameraViewController.podspec
File metadata and controls
63 lines (50 loc) · 2.93 KB
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
#
# Be sure to run `pod lib lint DDCameraViewController.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'DDCameraViewController'
s.version = '0.1.0'
s.summary = 'A camera view controller build on top of AVFoundation'
s.homepage = 'http://dashdevs.com'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'dashdevs llc' => 'hello@dashdevs.com' }
s.source = { :git => 'https://github.com/dashdevs/DDCameraViewController.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.source_files = 'DDCameraViewController/Classes/**/*'
s.private_header_files = 'DDCameraViewController/Classes/DDCameraViewController_Private.h'
s.frameworks = 'UIKit', 'AVFoundation'
s.default_subspec = 'Core'
s.subspec 'Core' do |subspec|
subspec.source_files = 'DDCameraViewController/Classes/DDCameraViewController.{h,m}', 'DDCameraViewController/Classes/DDCameraViewController_Private.h'
subspec.public_header_files = 'DDCameraViewController/Classes/DDCameraViewController.h'
subspec.dependency 'DDCameraViewController/DDCameraView'
end
s.subspec 'DDCameraView' do |subspec|
subspec.source_files = 'DDCameraViewController/Classes/DDCameraView.{h,m}'
subspec.public_header_files = 'DDCameraViewController/Classes/DDCameraView.h'
end
s.subspec 'DDCaptureStillImageOutput' do |subspec|
subspec.source_files = 'DDCameraViewController/Classes/DDCameraViewController+DDCaptureStillImageOutput.{h,m}'
subspec.public_header_files = 'DDCameraViewController/Classes/DDCameraViewController+DDCaptureStillImageOutput.h'
subspec.dependency 'DDCameraViewController/Core'
end
s.subspec 'DDStillImageViewController' do |subspec|
subspec.source_files = 'DDCameraViewController/Classes/DDStillImageViewController.{h,m}'
subspec.public_header_files = 'DDCameraViewController/Classes/DDStillImageViewController.h'
subspec.dependency 'DDCameraViewController/DDCaptureStillImageOutput'
end
s.subspec 'DDCaptureDeviceInputSwitch' do |subspec|
subspec.source_files = 'DDCameraViewController/Classes/AVCaptureDevice+DDCaptureDevicePosition.{h,m}',
'DDCameraViewController/Classes/DDCameraViewController+DDCaptureDeviceInputSwitch.{h,m}'
subspec.public_header_files = 'DDCameraViewController/Classes/DDCameraViewController+DDCaptureDeviceInputSwitch.h'
subspec.dependency 'DDCameraViewController/Core'
end
s.subspec 'DDCaptureDeviceModesSwitch' do |subspec|
subspec.source_files = 'DDCameraViewController/Classes/AVCaptureDevice+DDCaptureDeviceModesSwitch.{h,m}'
subspec.public_header_files = 'DDCameraViewController/Classes/AVCaptureDevice+DDCaptureDeviceModesSwitch.h'
end
end