Target Branch
0.85
Link to commit or PR to be picked
facebook/react-native#56862
Description
Same regression as the #1305 (0.84 pick): the new RCT_USE_PREBUILT_RNCORE=1 default plus use_frameworks! causes RCTDefines.h macros (RCT_EXTERN, RCT_EXPORT_METHOD, etc.) to be scoped to a sibling submodule and not propagate to consumers. Any pod relying on those macros (React Native Firebase: Auth, Storage, Messaging, Firestore) fails to compile under use_frameworks! on 0.85.
Fix reorders the React umbrella so RCTDefines.h is first and drops the module * { export * } wildcard in the modulemap, collapsing the React module into a single parse context. 2 files changed, 5 lines net.
Target Branch
0.85
Link to commit or PR to be picked
facebook/react-native#56862
Description
Same regression as the #1305 (0.84 pick): the new
RCT_USE_PREBUILT_RNCORE=1default plususe_frameworks!causesRCTDefines.hmacros (RCT_EXTERN,RCT_EXPORT_METHOD, etc.) to be scoped to a sibling submodule and not propagate to consumers. Any pod relying on those macros (React Native Firebase: Auth, Storage, Messaging, Firestore) fails to compile underuse_frameworks!on 0.85.Fix reorders the React umbrella so
RCTDefines.his first and drops themodule * { export * }wildcard in the modulemap, collapsing the React module into a single parse context. 2 files changed, 5 lines net.use_frameworks!, tracked at [🐛] compile errors with react-native CLI + pre-compiled iOS distribution default on RN 0.84 - workaround - disable pre-compiled react-native or use Podfile preinstall hook invertase/react-native-firebase#8883).Critical developer workflow: yes.
use_frameworks!users.