forked from dzenbot/DZNPhotoPickerController
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DZNPhotoPickerController.podspec
44 lines (35 loc) · 1.88 KB
/
DZNPhotoPickerController.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
@version = "2.0"
Pod::Spec.new do |s|
s.name = "DZNPhotoPickerController"
s.version = @version
s.summary = "A photo search/picker for iOS using popular providers like 500px, Flickr, Intagram, Google Images, etc."
s.description = "This framework tries to mimic as close as possible the native UIImagePickerController API for iOS7, in terms of features, appearance and behaviour."
s.homepage = "https://github.com/dzenbot/DZNPhotoPickerController"
s.screenshots = "https://raw.githubusercontent.com/dzenbot/DZNPhotoPickerController/master/Docs/screenshots.png"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Ignacio Romero Z." => "[email protected]" }
s.source = { :git => "https://github.com/dzenbot/UIPhotoPickerController.git", :tag => "v#{s.version}" }
s.default_subspec = 'Core'
s.resources = 'Resources', 'Source/Resources/**/*.*'
s.requires_arc = true
s.platform = :ios, '8.0'
s.public_header_files = 'Source/Classes/*/*.h'
s.subspec 'Core' do |ss|
ss.source_files = 'Source/Classes/Core/*.{h,m}'
ss.dependency 'DZNPhotoPickerController/Services'
ss.dependency 'DZNPhotoPickerController/Editor'
ss.dependency 'SDWebImage', '~> 3.7'
ss.dependency 'DZNEmptyDataSet', '~> 1.7'
end
s.subspec 'Services' do |ss|
ss.source_files = 'Source/Classes/Services/*.{h,m}',
'Source/Classes/Core/DZNPhotoPickerControllerConstants.{h,m}'
ss.dependency 'AFNetworking', '~> 2'
ss.prefix_header_contents = '#import <MobileCoreServices/MobileCoreServices.h>',
'#import <SystemConfiguration/SystemConfiguration.h>'
end
s.subspec 'Editor' do |ss|
ss.source_files = 'Source/Classes/Editor/*.{h,m}',
'Source/Classes/Core/DZNPhotoPickerControllerConstants.{h,m}'
end
end