Skip to content

Commit 32db444

Browse files
authored
[iOS] Add FabricComponents to Podfile (#3388)
## Description This PR updates `RNGestureHandler.podspec` to fix builds on iOS, which broke after #3338. Fixes #3385 ## Test plan Verified by users (see [issue](#3385)) Tested on fresh React Native 0.77 app with the following line in `Podfile`: ```rb use_frameworks! :linkage => :static ```
1 parent 7c3e002 commit 32db444

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

RNGestureHandler.podspec

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,12 @@ Pod::Spec.new do |s|
2929
else
3030
s.dependency "React-Core"
3131
end
32+
33+
if ENV['USE_FRAMEWORKS'] != nil && ENV['RCT_NEW_ARCH_ENABLED'] == '1'
34+
add_dependency(s, "React-FabricComponents", :additional_framework_paths => [
35+
"react/renderer/textlayoutmanager/platform/ios",
36+
"react/renderer/components/textinput/platform/ios",
37+
])
38+
end
39+
3240
end

0 commit comments

Comments
 (0)