From 712d64e4152087a282af9373097599bdb96664ca Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Fri, 25 Sep 2026 07:07:07 -0700 Subject: [PATCH 1/2] Fix formatting in iOS prebuild header docs Summary: Apply the repository formatter to the iOS prebuild header documentation. This restores the expected Markdown line wrapping and the public format check. Changelog: [Internal] bypass-github-export-checks ___ Differential Revision: D121797341 --- .../scripts/ios-prebuild/__docs__/headers-rules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/scripts/ios-prebuild/__docs__/headers-rules.md b/packages/react-native/scripts/ios-prebuild/__docs__/headers-rules.md index dbd9ceac612..7c371601bdd 100644 --- a/packages/react-native/scripts/ios-prebuild/__docs__/headers-rules.md +++ b/packages/react-native/scripts/ios-prebuild/__docs__/headers-rules.md @@ -246,8 +246,8 @@ of module `React`, closing a cycle: React -> ReactNativeHeaders_react -> React ``` -Found empirically: `react/timing/primitives.h` -> ``. This is -the same two-module-ownership failure as `UMBRELLA_CXX_GUARDED_EXCLUSIONS` +Found empirically: `react/timing/primitives.h` -> ``. This is the +same two-module-ownership failure as `UMBRELLA_CXX_GUARDED_EXCLUSIONS` (`RCTFrameTimingsObserver.h`, which reaches the same `primitives.h`), in the opposite direction. They are `objc-blocked` by construction (they re-export their module's C++ surface), so they were never R4 umbrella or R5 module From 0e6523e18438889cafd7898a5c983e1ec985aa43 Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Fri, 25 Sep 2026 07:07:07 -0700 Subject: [PATCH 2/2] Use umbrella instead of a direct include in utils module (#58634) Summary: Changelog: [Internal] Update the utils module to use `React/Debug.h` umbrella include instead of a direct one. Reviewed By: cipolleschi Differential Revision: D121165065 --- .../react-native/ReactCommon/react/utils/ContextContainer.h | 3 +-- .../ReactCommon/react/utils/ManagedObjectWrapper.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/react-native/ReactCommon/react/utils/ContextContainer.h b/packages/react-native/ReactCommon/react/utils/ContextContainer.h index ffc243c4f81..80d69160223 100644 --- a/packages/react-native/ReactCommon/react/utils/ContextContainer.h +++ b/packages/react-native/ReactCommon/react/utils/ContextContainer.h @@ -16,8 +16,7 @@ #include #include -#include -#include +#include namespace facebook::react { diff --git a/packages/react-native/ReactCommon/react/utils/ManagedObjectWrapper.h b/packages/react-native/ReactCommon/react/utils/ManagedObjectWrapper.h index 7a12bf3a6aa..8d54e3bec96 100644 --- a/packages/react-native/ReactCommon/react/utils/ManagedObjectWrapper.h +++ b/packages/react-native/ReactCommon/react/utils/ManagedObjectWrapper.h @@ -9,7 +9,7 @@ #include -#include +#include #if defined(__APPLE__) #include