-
Notifications
You must be signed in to change notification settings - Fork 64
/
arek.podspec
103 lines (87 loc) · 3.12 KB
/
arek.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Pod::Spec.new do |s|
s.name = 'arek'
s.version = '4.0.2'
s.summary = 'AREK is a clean and easy to use wrapper over any kind of iOS permission.'
s.homepage = 'https://github.com/ennioma/arek'
s.license = { :type => 'MIT', :file => 'LICENSE'}
s.author = { 'Ennio Masi' => '[email protected]' }
s.source = { :git => 'https://github.com/ennioma/arek.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/ennioma'
s.ios.deployment_target = '10.0'
s.swift_version = '4.2'
s.source_files = 'code/Classes/**/*', 'code/Classes/Core/**/*', 'code/Classes/Permissions/**/*'
s.exclude_files = 'Example/*'
s.dependency 'PMAlertController', '3.5.0'
s.subspec 'Core' do |ss|
ss.source_files = 'code/Classes/Core/**/*.swift'
end
s.subspec 'Bluetooth' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/Bluetooth/*.swift'
ss.frameworks = 'CoreBluetooth'
end
s.subspec 'Camera' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekCamera.swift'
ss.frameworks = 'AVFoundation'
end
s.subspec 'CloudKit' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekCloudKit.swift'
ss.frameworks = 'CloudKit'
end
s.subspec 'Contacts' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekContacts.swift'
ss.frameworks = 'AddressBook'
end
s.subspec 'Events' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekEvents.swift'
ss.frameworks = 'EventKit'
end
s.subspec 'Health' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekHealth.swift'
ss.frameworks = 'HealthKit'
end
s.subspec 'Location' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/Location/*.swift'
ss.frameworks = 'CoreLocation'
end
s.subspec 'MediaLibrary' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekMediaLibrary.swift'
ss.frameworks = 'MediaPlayer'
end
s.subspec 'Microphone' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekMicrophone.swift'
ss.frameworks = 'AVFoundation'
end
s.subspec 'Motion' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekMotion.swift'
ss.frameworks = 'CoreMotion'
end
s.subspec 'Notifications' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekNotifications.swift'
end
s.subspec 'Photos' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekPhoto.swift'
ss.frameworks = 'AssetsLibrary'
end
s.subspec 'Reminders' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekReminders.swift'
ss.frameworks = 'EventKit'
end
s.subspec 'SpeechRecognizer' do |ss|
ss.dependency 'arek/Core'
ss.source_files = 'code/Classes/Permissions/ArekSpeechRecognizer.swift'
ss.frameworks = 'Speech'
end
end