From d12758c835178057ea3e628d0a84ec2e78b8b0a4 Mon Sep 17 00:00:00 2001 From: Christian Falch Date: Mon, 27 Jul 2026 11:31:16 +0200 Subject: [PATCH] fix(rn-tester): use framework-style import for RCTFabricComponentsPlugins.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The quoted form resolves only under CocoaPods (header maps re-vend the bare filename via FACADE_REEXPOSED_HEADERS in rncore_facades.rb). SwiftPM exposes React headers as an include directory, so the header is only reachable as — the quoted import makes MyNativeView fail to compile when rn-tester is converted to SwiftPM. The angle form resolves under both distributions. Cherry-picked from the SPM stack (ecdd1771019). Co-Authored-By: Claude Fable 5 --- .../NativeComponentExample/ios/RNTMyNativeViewComponentView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rn-tester/NativeComponentExample/ios/RNTMyNativeViewComponentView.mm b/packages/rn-tester/NativeComponentExample/ios/RNTMyNativeViewComponentView.mm index 2eb7bff28e67..be4ed093ea16 100644 --- a/packages/rn-tester/NativeComponentExample/ios/RNTMyNativeViewComponentView.mm +++ b/packages/rn-tester/NativeComponentExample/ios/RNTMyNativeViewComponentView.mm @@ -13,7 +13,7 @@ #import #import -#import "RCTFabricComponentsPlugins.h" +#import using namespace facebook::react;