-
Notifications
You must be signed in to change notification settings - Fork 53
/
JLPermissions.podspec
85 lines (72 loc) · 2.58 KB
/
JLPermissions.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Pod::Spec.new do |s|
s.name = "JLPermissions"
s.version = "2.2.10"
s.summary = "User permission dialogs."
s.description = <<-DESC
Ask the user for permissions before iOS does increasing the chance of acceptance on future requests.
DESC
s.homepage = "https://github.com/jlaws/JLPermissions"
s.license = 'MIT'
s.author = { "Joe Laws" => "joe.laws@gmail.com" }
s.source = { :git => "https://github.com/jlaws/JLPermissions.git", :tag => s.version.to_s }
s.dependency 'DBPrivacyHelper', '0.6.3'
s.platform = :ios, '7.0'
s.requires_arc = true
s.subspec 'Core' do |ss|
ss.source_files = 'JLPermissions/JLPermissionsCore*'
end
s.subspec 'Calendar' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLCalendarPermission.?'
ss.frameworks = 'EventKit'
end
s.subspec 'Camera' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLCameraPermission.?'
ss.frameworks = 'AVFoundation'
end
s.subspec 'Contacts' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLContactsPermission.?'
ss.frameworks = 'AddressBook'
end
s.subspec 'Facebook' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLFacebookPermission.?'
ss.frameworks = 'Accounts'
end
s.subspec 'Health' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLHealthPermission.?'
ss.frameworks = 'HealthKit'
end
s.subspec 'Location' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLLocationPermission.?'
ss.frameworks = 'CoreLocation'
end
s.subspec 'Microphone' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLMicrophonePermission.?'
ss.frameworks = 'AVFoundation'
end
s.subspec 'Notification' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLNotificationPermission.?'
end
s.subspec 'Photos' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLPhotosPermission.?'
ss.frameworks = 'AssetsLibrary'
end
s.subspec 'Reminders' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLRemindersPermission.?'
ss.frameworks = 'EventKit'
end
s.subspec 'Twitter' do |ss|
ss.dependency 'JLPermissions/Core'
ss.source_files = 'JLPermissions/JLTwitterPermission.?'
ss.frameworks = 'Accounts'
end
end