Skip to content

Commit d12758c

Browse files
chrfalchclaude
andcommitted
fix(rn-tester): use framework-style import for RCTFabricComponentsPlugins.h
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 <React/RCTFabricComponentsPlugins.h> — 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 <noreply@anthropic.com>
1 parent c1843c4 commit d12758c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rn-tester/NativeComponentExample/ios/RNTMyNativeViewComponentView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#import <react/renderer/components/AppSpecs/Props.h>
1414
#import <react/renderer/components/AppSpecs/RCTComponentViewHelpers.h>
1515

16-
#import "RCTFabricComponentsPlugins.h"
16+
#import <React/RCTFabricComponentsPlugins.h>
1717

1818
using namespace facebook::react;
1919

0 commit comments

Comments
 (0)