From 6580e642afd38a9ec9fcf4796ecface54cac3e5f Mon Sep 17 00:00:00 2001 From: Kudo Chien Date: Tue, 28 Jun 2022 22:39:30 +0800 Subject: [PATCH] fix React-RCTText build error --- patches/react-native+0.69.0.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/react-native+0.69.0.patch b/patches/react-native+0.69.0.patch index d67a65464ca94..cb9f73566dbc4 100644 --- a/patches/react-native+0.69.0.patch +++ b/patches/react-native+0.69.0.patch @@ -355,3 +355,16 @@ index 700cd7e..9c2e19d 100644 # TODO: The boost spec should really be selecting these files so that dependents of Folly can also access the required headers. spec.user_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"" } +diff --git a/node_modules/react-native/React/Views/RCTShadowView.h b/node_modules/react-native/React/Views/RCTShadowView.h +index 428d2eb..226672f 100644 +--- a/node_modules/react-native/React/Views/RCTShadowView.h ++++ b/node_modules/react-native/React/Views/RCTShadowView.h +@@ -8,6 +8,8 @@ + #import + + #import ++// Keeps RCTConvert.h here before yoga for clang module to generate correct header imports. ++#import + #import + #import + #import