Commit 93187f3
fix(cocoapods): address review on dependency-only facades
Review feedback on the prebuilt-deps facades:
- rndeps_facades.rb: soften the "graph-equivalent" comment — facades match the
source pod's spec/subspec shape but route every derived subspec's dep to
ReactNativeDependencies, so intra-pod subspec deps (RCT-Folly/Fabric ->
RCT-Folly/Default) are not reproduced (harmless; the deps are declared
explicitly in react_native_pods.rb).
- rndeps_facades.rb: add `require_relative './helpers'` so Helpers::Constants is
self-contained against require ordering (the defined? guard stays as backstop).
- reactNativeDependencies.js: document that the no-version-marker branch returns
before the version.txt write, so a locally-staged artifact never gains a marker
and later runs re-hit the branch (intentional; downstream must not assume it).
- rndependencies.rb: uniq the HEADER_SEARCH_PATHS so a second call can't duplicate.
- prebuilt-deps.md: drop the stray space before SocketRocket.
Note: the Ruby-tests request is not actioned — the repo's cocoapods Ruby test
harness is not wired into CI, so the tests would not run.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 34e18af commit 93187f3
4 files changed
Lines changed: 19 additions & 6 deletions
File tree
- packages/react-native/scripts
- cocoapods
- __docs__
- ios-prebuild
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
48 | | - | |
49 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
| |||
0 commit comments