Commit 8fe85bb
authored
CocoaPods fix for the addition of traits. (#2007)
Maps the default `traits` to preprocessor defines when building the
library.
Tested by swapping the
```swift
#endif
```
for:
```swift
#warning("Defined.")
#else
#error("Not defined.")
#endif
```
And inspecting the output of `pod lib lint` to confirm the `#warning` is
hit and not the `#error`. Fixes #20051 parent f21a997 commit 8fe85bb
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments