Skip to content

Commit f491898

Browse files
wokalskifacebook-github-bot
authored andcommitted
Fix rncore generation for React-Fabric.podspec following 98b03fa (#25437)
Summary: This PR adjusts rncore generation to the flow parser based approach introduced in 98b03fa. ## Changelog [Internal] [Fixed] - Fix iOS build of RNTester with fabric_enabled Pull Request resolved: #25437 Test Plan: As far as I see currently there's no automated testing for the RNTester build with `fabric_enbaled` set to `true`. The quickest way to test this PR is building RNTester using cocoapods with `fabric_enabled`. Differential Revision: D16071362 Pulled By: cpojer fbshipit-source-id: 05d96686ea2d7c8c04f05eb7840c9eacff5a2738
1 parent 44c05da commit f491898

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/generate-rncore.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
# to a location that the podspecs expect.
1010

1111
# shellcheck disable=SC2038
12-
find "$PWD/../Libraries" -name "*Schema.js" -print | xargs yarn flow-node packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js schema-rncore.json
12+
13+
find "$PWD/../Libraries" -name "*NativeComponent.js" -print | xargs yarn flow-node packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js schema-rncore.json
1314
yarn flow-node packages/react-native-codegen/buck_tests/generate-tests.js schema-rncore.json rncore ReactCommon/fabric/components/rncore

0 commit comments

Comments
 (0)