Commit f661037
fix(cocoapods): harden prebuilt-deps header search paths and artifact handling
- rndependencies.rb: the previous "||= [] << path" only added the deps
header search path when HEADER_SEARCH_PATHS was unset — with an existing
value the path was silently dropped. Normalize string values and always
append. Also point the search path at the pod-local flattened Headers/
(single header home) instead of the artifact root.
- ReactNativeDependencies.podspec: prepare_command exited 0 when
XCFRAMEWORK_PATH/HEADERS_PATH resolved empty, producing a silent
no-link pod; fail closed with exit 1.
- reactNativeDependencies.js: an artifact without a version marker logged
"we are going to use it anyway" but then fell through to rmSync +
re-download, destroying locally staged deps builds; honor the message
and use it as-is.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 562985d commit f661037
3 files changed
Lines changed: 18 additions & 3 deletions
File tree
- packages/react-native
- scripts
- cocoapods
- ios-prebuild
- third-party-podspecs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
54 | 65 | | |
55 | 66 | | |
56 | 67 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments