Commit 50d50f0
authored
fix: support Facebook SDK 18 and fix $FacebookSDKVersion override (#57)
* fix: support Facebook SDK 18 and fix $FacebookSDKVersion override
- widen default FBSDKCoreKit constraint from `~> 17.0.2` to `>= 17.0.2, < 19.0` to allow Facebook SDK 18.x
- fix `$FacebookSDKVersion` override crashing pod install (missing `$` referenced undefined constant Pod::FacebookSDKVersion)
- splat the version via `*Array(...)` so both string overrides and the default range are passed to s.dependency
Scanned-by: gitleaks 8.29.0
* chore: format default Facebook SDK version log for array constraint
Join the version requirement array so the install log prints
`>= 17.0.2, < 19.0` instead of the raw Ruby array literal.
Scanned-by: gitleaks 8.29.0
* fix: ignore nil or empty $FacebookSDKVersion override
Guard the override on a non-empty value so a nil/blank
$FacebookSDKVersion (e.g. from a missing env var) falls back to the
default `>= 17.0.2, < 19.0` range instead of dropping the version cap.
Scanned-by: gitleaks 8.29.01 parent f33902e commit 50d50f0
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
0 commit comments