From 6f8932f5ab40e5f6136a545493aef0511c67b5b6 Mon Sep 17 00:00:00 2001 From: Tyler Williams Date: Fri, 6 Dec 2024 11:22:43 -0700 Subject: [PATCH] fix: dynamic library builds for Reanimated --- example/ios/Podfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/example/ios/Podfile b/example/ios/Podfile index 636af634..543589f6 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -28,6 +28,16 @@ target 'IosContextMenuExample' do # Pods for testing end + pre_install do |installer| + installer.pod_targets.each do |pod| + if pod.name.eql?('RNReanimated') + def pod.build_type + Pod::BuildType.static_library + end + end + end + end + post_install do |installer| # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202 react_native_post_install(