Commit 213a396
feat(ios-prebuild): fold Hermes headers into the published ReactNativeHeaders
The core prebuild left <hermes/...> to be folded consumer-side (ensureHeadersLayout),
so a SwiftPM consumer of a published ReactNativeHeaders hit "'hermes/hermes.h'
file not found". Pass the hermes-ios tarball's staged destroot/include
(.build/artifacts/hermes/destroot/include) as the 5th arg to
buildReactNativeHeadersXcframework so the PUBLISHED ReactNativeHeaders carries
the hermes/ namespace. Null when unstaged (then <hermes/...> stays
consumer-composed, as before) — no behavior change for source builds.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5e4e759 commit 213a396
1 file changed
Lines changed: 18 additions & 4 deletions
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
103 | 116 | | |
| 117 | + | |
104 | 118 | | |
105 | 119 | | |
106 | 120 | | |
| |||
0 commit comments