This repository has been archived by the owner on Apr 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
/
FPPicker.podspec
66 lines (53 loc) · 2.4 KB
/
FPPicker.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
64
65
66
Pod::Spec.new do |s|
s.name = 'FPPicker'
s.version = '5.1.6'
s.summary = 'SDK to access Filepicker.io API'
s.description = <<-DESC
Filepicker helps developers connect with all the data sources they might have.
This is an SDK that lets developers easily add a bunch of cloud file handling features without coding.
DESC
s.homepage = 'https://github.com/Ink/ios-picker/'
s.screenshots = 'https://github.com/Ink/ios-picker/raw/develop/Docs/filepicker.png'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'Filepicker.io' => 'contact@filepicker.io' }
s.source = {
:git => 'https://github.com/Ink/ios-picker.git',
:tag => "v#{s.version}"
}
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
s.ios.prefix_header_file = 'Resources-iOS/FPPicker-Prefix.pch'
s.osx.prefix_header_file = 'Resources-Mac/FPPicker-Mac-Prefix.pch'
shared_public_header_files = %w(
FPPicker/Shared/FPExternalHeaders.h
FPPicker/Shared/FPConfig.h
FPPicker/Shared/FPConstants.h
FPPicker/Shared/FPMediaInfo.h
FPPicker/Shared/FPSource+SupportedSources.h
FPPicker/Shared/FPSimpleAPI.h
FPPicker/Shared/FPSource.h
)
s.ios.public_header_files = %w(
FPPicker/Platforms/iOS/FPPicker.h
FPPicker/Platforms/iOS/FPPickerController.h
FPPicker/Platforms/iOS/FPSaveController.h
FPPicker/Platforms/iOS/FPTheme.h
FPPicker/Platforms/iOS/FPAuthController.h
).concat(shared_public_header_files)
s.osx.public_header_files = %w(
FPPicker/Platforms/Mac/FPPickerMac.h
FPPicker/Platforms/Mac/FPPickerController.h
FPPicker/Platforms/Mac/FPSaveController.h
FPPicker/Platforms/Mac/FPAuthController.h
).concat(shared_public_header_files)
s.ios.source_files = 'FPPicker/Shared/*.{h,m}', 'FPPicker/Platforms/iOS/*.{h,m}'
s.osx.source_files = 'FPPicker/Shared/*.{h,m}', 'FPPicker/Platforms/Mac/*.{h,m}'
s.ios.frameworks = 'AssetsLibrary', 'CoreFoundation', 'CoreGraphics', 'MobileCoreServices', 'QuartzCore', 'SystemConfiguration'
s.osx.frameworks = 'WebKit', 'Quartz'
s.dependency 'AFNetworking', '~> 2.6.0'
s.ios.dependency 'MBProgressHUD', '~> 0.9'
s.osx.dependency 'PureLayout', '~> 2.0.6'
s.requires_arc = true
s.ios.resource_bundle = { 'FPPicker' => 'Resources-Shared/*.*' }
s.osx.resource_bundle = { 'FPPicker' => 'Resources-Shared/*.*', 'FPPickerMac' => 'Resources-Mac/*.*' }
end