From bee94edd4bda4fb892e63385ec8b3df1a626265d Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Fri, 21 Aug 2026 05:54:38 -0700 Subject: [PATCH] Drop unused Hermes import from RCTAppSetupUtils Summary: `RCTAppSetupUtils.h` imports `` but names nothing from it, so the import and the conditional that wrapped only it are removed. This unblocks classifying the Hermes executor as a private target under the three-tier C++ stable API visibility model, which it cannot be while a public header reaches it. Code that relied on reaching `HermesExecutorFactory` through this header should import it directly. Changelog: [iOS][Changed] - `RCTAppSetupUtils.h` no longer transitively imports `HermesExecutorFactory.h` Differential Revision: D116934198 --- .../react-native/Libraries/AppDelegate/RCTAppSetupUtils.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-native/Libraries/AppDelegate/RCTAppSetupUtils.h b/packages/react-native/Libraries/AppDelegate/RCTAppSetupUtils.h index d76708c2f957..9053e656326c 100644 --- a/packages/react-native/Libraries/AppDelegate/RCTAppSetupUtils.h +++ b/packages/react-native/Libraries/AppDelegate/RCTAppSetupUtils.h @@ -13,10 +13,6 @@ #import -#if USE_THIRD_PARTY_JSC != 1 -#import -#endif - #import #import