Commit a6bf92f
committed
test: stop integration test bundles from re-linking SDK products
The integration XCTest bundles for Predictions, Kinesis/Firehose, and
the Analytics watchOS target linked the Amplify/aws-sdk-swift package
products directly (in both packageProductDependencies and the
Frameworks build phase), in addition to their host app linking them.
With smithy-swift 0.219.0's SmithyCodeGeneratorPlugin (pulled in by
aws-sdk-swift 1.7.21), this makes the build-tool plugin run twice for
each aws-sdk-swift service target — host app build + test bundle build —
both writing to the same package-keyed output directory:
Multiple commands produce '.../AWSCognitoIdentitySchemas.swift'
Build input files cannot be found: '.../InternalAWSCognitoIdentity...'
Passing projects (Geo, Storage, Logging, Analytics iOS/tvOS) link the
SDK products only from the app targets; their test bundles rely on the
host app via TEST_HOST. Match that: remove the redundant product links
from the affected test bundles.
Verified locally: AWSPredictionsPluginIntegrationTests and
AmplifyKinesisClientIntegrationTests now build with no plugin-output
collision (TEST BUILD SUCCEEDED).1 parent da4b531 commit a6bf92f
3 files changed
Lines changed: 0 additions & 81 deletions
File tree
- AmplifyClients/Tests/IntegrationTests/KinesisFirehoseClientHostApp/KinesisFirehoseClientHostApp.xcodeproj
- AmplifyPlugins
- Analytics/Tests/AnalyticsHostApp/AnalyticsHostApp.xcodeproj
- Predictions/Tests/PredictionsHostApp/PredictionsHostApp.xcodeproj
Lines changed: 0 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 10 | | |
22 | 11 | | |
23 | 12 | | |
24 | 13 | | |
25 | 14 | | |
26 | 15 | | |
27 | 16 | | |
28 | | - | |
29 | 17 | | |
30 | 18 | | |
31 | 19 | | |
| |||
115 | 103 | | |
116 | 104 | | |
117 | 105 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 106 | | |
131 | 107 | | |
132 | 108 | | |
| |||
260 | 236 | | |
261 | 237 | | |
262 | 238 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | 239 | | |
276 | 240 | | |
277 | 241 | | |
| |||
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
135 | 132 | | |
136 | 133 | | |
137 | 134 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 135 | | |
142 | 136 | | |
143 | 137 | | |
| |||
334 | 328 | | |
335 | 329 | | |
336 | 330 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | 331 | | |
341 | 332 | | |
342 | 333 | | |
| |||
Lines changed: 0 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 56 | | |
69 | 57 | | |
70 | 58 | | |
| |||
139 | 127 | | |
140 | 128 | | |
141 | 129 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 130 | | |
147 | 131 | | |
148 | 132 | | |
| |||
161 | 145 | | |
162 | 146 | | |
163 | 147 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 148 | | |
169 | 149 | | |
170 | 150 | | |
171 | 151 | | |
172 | 152 | | |
173 | 153 | | |
174 | 154 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 155 | | |
180 | 156 | | |
181 | 157 | | |
| |||
339 | 315 | | |
340 | 316 | | |
341 | 317 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | 318 | | |
347 | 319 | | |
348 | 320 | | |
| |||
387 | 359 | | |
388 | 360 | | |
389 | 361 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | 362 | | |
395 | 363 | | |
396 | 364 | | |
| |||
411 | 379 | | |
412 | 380 | | |
413 | 381 | | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | 382 | | |
419 | 383 | | |
420 | 384 | | |
| |||
0 commit comments