-
Notifications
You must be signed in to change notification settings - Fork 4
/
MKBeaconXPlus.podspec
254 lines (206 loc) · 9.38 KB
/
MKBeaconXPlus.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
#
# Be sure to run `pod lib lint MKBeaconXPlus.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 = 'MKBeaconXPlus'
s.version = '1.2.1'
s.summary = 'A short description of MKBeaconXPlus.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
TODO: Add long description of the pod here.
DESC
s.homepage = 'https://github.com/BeaconX-Pro/iOS-SDK'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'aadyx2007@163.com' => 'aadyx2007@163.com' }
s.source = { :git => 'https://github.com/BeaconX-Pro/iOS-SDK.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '14.0'
s.resource_bundles = {
'MKBeaconXPlus' => ['MKBeaconXPlus/Assets/*.png']
}
s.subspec 'ConnectManager' do |ss|
ss.source_files = 'MKBeaconXPlus/Classes/ConnectManager/**'
ss.dependency 'MKBaseModuleLibrary'
ss.dependency 'MKBeaconXPlus/SDK-BXP'
end
s.subspec 'CTMediator' do |ss|
ss.source_files = 'MKBeaconXPlus/Classes/CTMediator/**'
ss.dependency 'CTMediator'
end
s.subspec 'SDK-BXP' do |ss|
ss.source_files = 'MKBeaconXPlus/Classes/SDK-BXP/**'
ss.dependency 'MKBaseBleModule'
end
s.subspec 'Target' do |ss|
ss.source_files = 'MKBeaconXPlus/Classes/Target/**'
ss.dependency 'MKBeaconXPlus/Functions'
end
s.subspec 'DatabaseManager' do |ss|
ss.source_files = 'MKBeaconXPlus/Classes/DatabaseManager/**'
ss.dependency 'MKBaseModuleLibrary'
ss.dependency 'FMDB'
end
s.subspec 'Functions' do |ss|
ss.subspec 'AboutPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/AboutPage/Controller/**'
end
end
ss.subspec 'AccelerationPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/AccelerationPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/AccelerationPage/Model'
ssss.dependency 'MKBeaconXPlus/Functions/AccelerationPage/View'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/AccelerationPage/Model/**'
end
sss.subspec 'View' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/AccelerationPage/View/**'
end
end
ss.subspec 'ExportDataPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/ExportDataPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/ExportDataPage/View'
end
sss.subspec 'View' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/ExportDataPage/View/**'
end
end
ss.subspec 'HTConfigPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/HTConfigPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/HTConfigPage/Model'
ssss.dependency 'MKBeaconXPlus/Functions/HTConfigPage/View'
ssss.dependency 'MKBeaconXPlus/Functions/ExportDataPage/Controller'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/HTConfigPage/Model/**'
end
sss.subspec 'StorageTriggerViews' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/HTConfigPage/StorageTriggerViews/**'
end
sss.subspec 'View' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/HTConfigPage/View/**'
ssss.dependency 'MKBeaconXPlus/Functions/HTConfigPage/StorageTriggerViews'
end
end
ss.subspec 'ScanPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/ScanPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/ScanPage/Model'
ssss.dependency 'MKBeaconXPlus/Functions/ScanPage/Adopter'
ssss.dependency 'MKBeaconXPlus/Functions/TabBarPage/Controller'
ssss.dependency 'MKBeaconXPlus/Functions/AboutPage/Controller'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/ScanPage/Model/**'
end
sss.subspec 'Adopter' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/ScanPage/Adopter/**'
ssss.dependency 'MKBeaconXPlus/Functions/ScanPage/Model'
end
end
ss.subspec 'SettingPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/SettingPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/SensorConfigPage/Controller'
ssss.dependency 'MKBeaconXPlus/Functions/QuickSwitchPage/Controller'
ssss.dependency 'MKBeaconXPlus/Functions/UpdatePage/Controller'
end
end
ss.subspec 'SlotConfigPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/SlotConfigPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/SlotConfigPage/Model'
ssss.dependency 'MKBeaconXPlus/Functions/SlotConfigPage/View'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/SlotConfigPage/Model/**'
end
sss.subspec 'View' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/SlotConfigPage/View/**'
end
end
ss.subspec 'SlotPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/SlotPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/SlotPage/Model'
ssss.dependency 'MKBeaconXPlus/Functions/SlotConfigPage/Controller'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/SlotPage/Model/**'
end
end
ss.subspec 'TabBarPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/TabBarPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/TabBarPage/Model'
ssss.dependency 'MKBeaconXPlus/Functions/SlotPage/Controller'
ssss.dependency 'MKBeaconXPlus/Functions/SettingPage/Controller'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/TabBarPage/Model/**'
end
end
ss.subspec 'SensorConfigPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/SensorConfigPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/AccelerationPage'
ssss.dependency 'MKBeaconXPlus/Functions/HTConfigPage'
ssss.dependency 'MKBeaconXPlus/Functions/LightSensorPage'
end
end
ss.subspec 'QuickSwitchPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/QuickSwitchPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/QuickSwitchPage/Model'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/QuickSwitchPage/Model/**'
end
end
ss.subspec 'LightSensorPage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/LightSensorPage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/LightSensorPage/View'
ssss.dependency 'MKBeaconXPlus/Functions/LightSensorPage/Model'
end
sss.subspec 'View' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/LightSensorPage/View/**'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/LightSensorPage/Model/**'
end
end
ss.subspec 'UpdatePage' do |sss|
sss.subspec 'Controller' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/UpdatePage/Controller/**'
ssss.dependency 'MKBeaconXPlus/Functions/UpdatePage/Model'
end
sss.subspec 'Model' do |ssss|
ssss.source_files = 'MKBeaconXPlus/Classes/Functions/UpdatePage/Model/**'
end
end
ss.dependency 'MKBeaconXPlus/ConnectManager'
ss.dependency 'MKBeaconXPlus/SDK-BXP'
ss.dependency 'MKBeaconXPlus/CTMediator'
ss.dependency 'MKBeaconXPlus/DatabaseManager'
ss.dependency 'MKBaseModuleLibrary'
ss.dependency 'MKCustomUIModule'
ss.dependency 'MKBeaconXCustomUI'
ss.dependency 'HHTransition'
ss.dependency 'MLInputDodger'
ss.dependency 'iOSDFULibrary', '4.13.0'
end
end