1
1
Pod ::Spec . new do |s |
2
2
s . name = "PromiseKit"
3
3
4
- s . version = '6.16.1 '
4
+ s . version = '6.16.2 '
5
5
6
6
s . source = {
7
7
:git => "https://github.com/mxcl/#{ s . name } .git" ,
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
19
19
s . default_subspecs = 'CorePromise' , 'UIKit' , 'Foundation'
20
20
s . requires_arc = true
21
21
22
- s . swift_versions = [ '3.2' , '3.3' , '3.4' , '4.0' , '4.1' , '4.2' , '4.3' , '4.4' , '5.0' , '5.1' , '5.2' , '5.3' , '5.4' ]
22
+ s . swift_versions = [ '3.2' , '3.3' , '3.4' , '4.0' , '4.1' , '4.2' , '4.3' , '4.4' , '5.0' , '5.1' , '5.2' , '5.3' , '5.4' , '5.5' ]
23
23
24
24
# CocoaPods requires us to specify the root deployment targets
25
25
# even though for us it is nonsense. Our root spec has no
@@ -34,15 +34,17 @@ Pod::Spec.new do |s|
34
34
}
35
35
36
36
s . subspec 'Accounts' do |ss |
37
- ss . ios . source_files = ss . osx . source_files = 'Extensions/Accounts/Sources/*'
37
+ ss . ios . source_files = ss . osx . source_files = 'Extensions/Accounts/Sources/**/*'
38
+ ss . exclude_files = 'Extensions/Accounts/Sources/*.plist'
38
39
ss . ios . frameworks = ss . osx . frameworks = 'Accounts'
39
40
ss . dependency 'PromiseKit/CorePromise'
40
41
ss . ios . deployment_target = '8.0'
41
42
ss . osx . deployment_target = '10.10'
42
43
end
43
44
44
45
s . subspec 'Alamofire' do |ss |
45
- ss . source_files = 'Extensions/Alamofire/Sources/*'
46
+ ss . source_files = 'Extensions/Alamofire/Sources/**/*'
47
+ ss . exclude_files = 'Extensions/Alamofire/Sources/*.plist'
46
48
ss . dependency 'Alamofire' , '~> 4.0'
47
49
ss . dependency 'PromiseKit/CorePromise'
48
50
ss . ios . deployment_target = '8.0'
@@ -52,28 +54,32 @@ Pod::Spec.new do |s|
52
54
end
53
55
54
56
s . subspec 'AddressBook' do |ss |
55
- ss . ios . source_files = 'Extensions/AddressBook/Sources/*'
57
+ ss . ios . source_files = 'Extensions/AddressBook/Sources/**/*'
58
+ ss . exclude_files = 'Extensions/AddressBook/Sources/*.plist'
56
59
ss . ios . frameworks = 'AddressBook'
57
60
ss . dependency 'PromiseKit/CorePromise'
58
61
ss . ios . deployment_target = '8.0'
59
62
end
60
63
61
64
s . subspec 'AssetsLibrary' do |ss |
62
- ss . ios . source_files = 'Extensions/AssetsLibrary/Sources/*'
65
+ ss . ios . source_files = 'Extensions/AssetsLibrary/Sources/**/*'
66
+ ss . exclude_files = 'Extensions/AssetsLibrary/Sources/*.plist'
63
67
ss . ios . frameworks = 'AssetsLibrary'
64
68
ss . dependency 'PromiseKit/CorePromise'
65
69
ss . ios . deployment_target = '8.0'
66
70
end
67
71
68
72
s . subspec 'AVFoundation' do |ss |
69
- ss . ios . source_files = 'Extensions/AVFoundation/Sources/*'
73
+ ss . ios . source_files = 'Extensions/AVFoundation/Sources/**/*'
74
+ ss . exclude_files = 'Extensions/AVFoundation/Sources/*.plist'
70
75
ss . ios . frameworks = 'AVFoundation'
71
76
ss . dependency 'PromiseKit/CorePromise'
72
77
ss . ios . deployment_target = '8.0'
73
78
end
74
79
75
80
s . subspec 'Bolts' do |ss |
76
- ss . source_files = 'Extensions/Bolts/Sources/*'
81
+ ss . source_files = 'Extensions/Bolts/Sources/**/*'
82
+ ss . exclude_files = 'Extensions/Bolts/Sources/*.plist'
77
83
ss . dependency 'PromiseKit/CorePromise'
78
84
ss . dependency 'Bolts' , '~> 1.9.0'
79
85
ss . ios . deployment_target = '8.0'
@@ -83,7 +89,8 @@ Pod::Spec.new do |s|
83
89
end
84
90
85
91
s . subspec 'CloudKit' do |ss |
86
- ss . source_files = 'Extensions/CloudKit/Sources/*'
92
+ ss . source_files = 'Extensions/CloudKit/Sources/**/*'
93
+ ss . exclude_files = 'Extensions/CloudKit/Sources/*.plist'
87
94
ss . frameworks = 'CloudKit'
88
95
ss . dependency 'PromiseKit/CorePromise'
89
96
ss . ios . deployment_target = '10.0'
@@ -93,7 +100,8 @@ Pod::Spec.new do |s|
93
100
end
94
101
95
102
s . subspec 'CoreBluetooth' do |ss |
96
- ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/CoreBluetooth/Sources/*'
103
+ ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/CoreBluetooth/Sources/**/*'
104
+ ss . exclude_files = 'Extensions/CoreBluetooth/Sources/*.plist'
97
105
ss . ios . frameworks = ss . osx . frameworks = ss . tvos . frameworks = 'CoreBluetooth'
98
106
ss . dependency 'PromiseKit/CorePromise'
99
107
ss . ios . deployment_target = '8.0'
@@ -109,6 +117,7 @@ Pod::Spec.new do |s|
109
117
cc += hh
110
118
111
119
ss . source_files = cc
120
+ ss . exclude_files = 'Sources/*.plist'
112
121
ss . public_header_files = hh
113
122
ss . preserve_paths = 'Sources/AnyPromise+Private.h' , 'Sources/PMKCallVariadicBlock.m' , 'Sources/NSMethodSignatureForBlock.m'
114
123
ss . frameworks = 'Foundation'
@@ -120,7 +129,8 @@ Pod::Spec.new do |s|
120
129
end
121
130
122
131
s . subspec 'CoreLocation' do |ss |
123
- ss . source_files = 'Extensions/CoreLocation/Sources/*'
132
+ ss . source_files = 'Extensions/CoreLocation/Sources/**/*'
133
+ ss . exclude_files = 'Extensions/CoreLocation/Sources/*.plist'
124
134
ss . watchos . source_files = 'Extensions/CoreLocation/Sources/CLGeocoder*'
125
135
ss . dependency 'PromiseKit/CorePromise'
126
136
ss . frameworks = 'CoreLocation'
@@ -132,7 +142,8 @@ Pod::Spec.new do |s|
132
142
end
133
143
134
144
s . subspec 'EventKit' do |ss |
135
- ss . ios . source_files = ss . osx . source_files = ss . watchos . source_files = 'Extensions/EventKit/Sources/*'
145
+ ss . ios . source_files = ss . osx . source_files = ss . watchos . source_files = 'Extensions/EventKit/Sources/**/*'
146
+ ss . exclude_files = 'Extensions/EventKit/Sources/*.plist'
136
147
ss . ios . frameworks = ss . osx . frameworks = ss . watchos . frameworks = 'EventKit'
137
148
ss . dependency 'PromiseKit/CorePromise'
138
149
@@ -142,7 +153,8 @@ Pod::Spec.new do |s|
142
153
end
143
154
144
155
s . subspec 'Foundation' do |ss |
145
- ss . source_files = Dir [ 'Extensions/Foundation/Sources/*' ]
156
+ ss . source_files = Dir [ 'Extensions/Foundation/Sources/**/*' ]
157
+ ss . exclude_files = 'Extensions/Foundation/Sources/*.plist'
146
158
ss . dependency 'PromiseKit/CorePromise'
147
159
ss . frameworks = 'Foundation'
148
160
ss . ios . deployment_target = '8.0'
@@ -152,15 +164,17 @@ Pod::Spec.new do |s|
152
164
end
153
165
154
166
s . subspec 'HealthKit' do |ss |
155
- ss . source_files = Dir [ 'Extensions/HealthKit/Sources/*' ]
167
+ ss . source_files = Dir [ 'Extensions/HealthKit/Sources/**/*' ]
168
+ ss . exclude_files = 'Extensions/HealthKit/Sources/*.plist'
156
169
ss . dependency 'PromiseKit/CorePromise'
157
170
ss . frameworks = 'HealthKit'
158
171
ss . ios . deployment_target = '9.0'
159
172
ss . watchos . deployment_target = '2.0'
160
173
end
161
174
162
175
s . subspec 'HomeKit' do |ss |
163
- ss . source_files = Dir [ 'Extensions/HomeKit/Sources/*' ]
176
+ ss . source_files = Dir [ 'Extensions/HomeKit/Sources/**/*' ]
177
+ ss . exclude_files = 'Extensions/HomeKit/Sources/*.plist'
164
178
ss . dependency 'PromiseKit/CorePromise'
165
179
ss . frameworks = 'HomeKit'
166
180
ss . ios . deployment_target = '8.0'
@@ -169,7 +183,8 @@ Pod::Spec.new do |s|
169
183
end
170
184
171
185
s . subspec 'MapKit' do |ss |
172
- ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/MapKit/Sources/*'
186
+ ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/MapKit/Sources/**/*'
187
+ ss . exclude_files = 'Extensions/MapKit/Sources/*.plist'
173
188
ss . ios . frameworks = ss . osx . frameworks = ss . tvos . frameworks = 'MapKit'
174
189
ss . dependency 'PromiseKit/CorePromise'
175
190
ss . ios . deployment_target = '8.0'
@@ -179,14 +194,16 @@ Pod::Spec.new do |s|
179
194
end
180
195
181
196
s . subspec 'MessageUI' do |ss |
182
- ss . ios . source_files = 'Extensions/MessagesUI/Sources/*'
197
+ ss . ios . source_files = 'Extensions/MessagesUI/Sources/**/*'
198
+ ss . exclude_files = 'Extensions/MessagesUI/Sources/*.plist'
183
199
ss . ios . frameworks = 'MessageUI'
184
200
ss . dependency 'PromiseKit/CorePromise'
185
201
ss . ios . deployment_target = '8.0'
186
202
end
187
203
188
204
s . subspec 'OMGHTTPURLRQ' do |ss |
189
- ss . source_files = 'Extensions/OMGHTTPURLRQ/Sources/*'
205
+ ss . source_files = 'Extensions/OMGHTTPURLRQ/Sources/**/*'
206
+ ss . exclude_files = 'Extensions/OMGHTTPURLRQ/Sources/*.plist'
190
207
ss . dependency 'PromiseKit/Foundation'
191
208
ss . dependency 'OMGHTTPURLRQ' , '~> 3.2'
192
209
ss . ios . deployment_target = '8.0'
@@ -196,7 +213,8 @@ Pod::Spec.new do |s|
196
213
end
197
214
198
215
s . subspec 'Photos' do |ss |
199
- ss . ios . source_files = ss . tvos . source_files = ss . osx . source_files = 'Extensions/Photos/Sources/*'
216
+ ss . ios . source_files = ss . tvos . source_files = ss . osx . source_files = 'Extensions/Photos/Sources/**/*'
217
+ ss . exclude_files = 'Extensions/Photos/Sources/*.plist'
200
218
ss . ios . frameworks = ss . tvos . frameworks = ss . osx . frameworks = 'Photos'
201
219
ss . dependency 'PromiseKit/CorePromise'
202
220
@@ -206,7 +224,8 @@ Pod::Spec.new do |s|
206
224
end
207
225
208
226
s . subspec 'QuartzCore' do |ss |
209
- ss . osx . source_files = ss . ios . source_files = ss . tvos . source_files = 'Extensions/QuartzCore/Sources/*'
227
+ ss . osx . source_files = ss . ios . source_files = ss . tvos . source_files = 'Extensions/QuartzCore/Sources/**/*'
228
+ ss . exclude_files = 'Extensions/QuartzCore/Sources/*.plist'
210
229
ss . osx . frameworks = ss . ios . frameworks = ss . tvos . frameworks = 'QuartzCore'
211
230
ss . dependency 'PromiseKit/CorePromise'
212
231
ss . ios . deployment_target = '8.0'
@@ -215,7 +234,8 @@ Pod::Spec.new do |s|
215
234
end
216
235
217
236
s . subspec 'Social' do |ss |
218
- ss . ios . source_files = 'Extensions/Social/Sources/*'
237
+ ss . ios . source_files = 'Extensions/Social/Sources/**/*'
238
+ ss . exclude_files = 'Extensions/Social/Sources/*.plist'
219
239
ss . osx . source_files = Dir [ 'Extensions/Social/Sources/*' ] - [ 'Categories/Social/Sources/*SLComposeViewController+Promise.swift' ]
220
240
ss . ios . frameworks = ss . osx . frameworks = 'Social'
221
241
ss . dependency 'PromiseKit/Foundation'
@@ -224,7 +244,8 @@ Pod::Spec.new do |s|
224
244
end
225
245
226
246
s . subspec 'StoreKit' do |ss |
227
- ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/StoreKit/Sources/*'
247
+ ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/StoreKit/Sources/**/*'
248
+ ss . exclude_files = 'Extensions/StoreKit/Sources/*.plist'
228
249
ss . ios . frameworks = ss . osx . frameworks = ss . tvos . frameworks = 'StoreKit'
229
250
ss . dependency 'PromiseKit/CorePromise'
230
251
ss . ios . deployment_target = '8.0'
@@ -233,7 +254,8 @@ Pod::Spec.new do |s|
233
254
end
234
255
235
256
s . subspec 'SystemConfiguration' do |ss |
236
- ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/SystemConfiguration/Sources/*'
257
+ ss . ios . source_files = ss . osx . source_files = ss . tvos . source_files = 'Extensions/SystemConfiguration/Sources/**/*'
258
+ ss . exclude_files = 'Extensions/SystemConfiguration/Sources/*.plist'
237
259
ss . ios . frameworks = ss . osx . frameworks = ss . tvos . frameworks = 'SystemConfiguration'
238
260
ss . dependency 'PromiseKit/CorePromise'
239
261
ss . ios . deployment_target = '8.0'
@@ -244,7 +266,8 @@ Pod::Spec.new do |s|
244
266
picker_cc = 'Extensions/UIKit/Sources/UIImagePickerController+Promise.swift'
245
267
246
268
s . subspec 'UIKit' do |ss |
247
- ss . ios . source_files = ss . tvos . source_files = Dir [ 'Extensions/UIKit/Sources/*' ] - [ picker_cc ]
269
+ ss . ios . source_files = ss . tvos . source_files = Dir [ 'Extensions/UIKit/Sources/**/*' ] - [ picker_cc ]
270
+ ss . exclude_files = 'Extensions/UIKit/Sources/*.plist'
248
271
ss . tvos . frameworks = ss . ios . frameworks = 'UIKit'
249
272
ss . dependency 'PromiseKit/CorePromise'
250
273
ss . ios . deployment_target = '8.0'
@@ -261,14 +284,16 @@ Pod::Spec.new do |s|
261
284
# include this when specifying *just* UIKit…!
262
285
263
286
ss . ios . source_files = picker_cc
287
+ ss . exclude_files = 'Extensions/UIKit/Sources/*.plist'
264
288
ss . ios . frameworks = 'UIKit'
265
289
ss . ios . xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) PMKImagePickerController=1' }
266
290
ss . dependency 'PromiseKit/UIKit'
267
291
ss . ios . deployment_target = '8.0'
268
292
end
269
293
270
294
s . subspec 'WatchConnectivity' do |ss |
271
- ss . ios . source_files = ss . watchos . source_files = 'Extensions/WatchConnectivity/Sources/*'
295
+ ss . ios . source_files = ss . watchos . source_files = 'Extensions/WatchConnectivity/Sources/**/*'
296
+ ss . exclude_files = 'Extensions/WatchConnectivity/Sources/*.plist'
272
297
ss . ios . frameworks = ss . watchos . frameworks = 'WatchConnectivity'
273
298
ss . dependency 'PromiseKit/CorePromise'
274
299
ss . ios . deployment_target = '8.0'
0 commit comments