Skip to content

Commit 1f6cdb2

Browse files
chrfalchclaude
andcommitted
ci(ios): include ReactNativeHeaders.xcframework in the prebuilt core tarball
The prebuilt React core now ships two xcframeworks — React.xcframework and the headers-only ReactNativeHeaders.xcframework. React-Core-prebuilt's prepare_command flattens the latter's Headers (including module.modulemap) into the pod. The compose step only tar'd React.xcframework, so consumers got no React-Core-prebuilt/Headers/module.modulemap and failed the build with "module map file ... not found". Tar both xcframeworks. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 684fcf7 commit 1f6cdb2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/prebuild-ios-core.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ jobs:
177177
if: steps.restore-ios-xcframework.outputs.cache-hit != 'true'
178178
run: |
179179
cd packages/react-native/.build/output/xcframeworks/${{matrix.flavor}}
180-
tar -cz -f ../ReactCore${{matrix.flavor}}.xcframework.tar.gz React.xcframework
180+
# Ship BOTH xcframeworks: React-Core-prebuilt's prepare_command flattens
181+
# ReactNativeHeaders.xcframework's Headers (incl. module.modulemap) into the
182+
# pod. Omitting it leaves consumers without React-Core-prebuilt/Headers/module.modulemap.
183+
tar -cz -f ../ReactCore${{matrix.flavor}}.xcframework.tar.gz React.xcframework ReactNativeHeaders.xcframework
181184
- name: Compress and Rename dSYM
182185
if: steps.restore-ios-xcframework.outputs.cache-hit != 'true'
183186
run: |

0 commit comments

Comments
 (0)