Skip to content

Commit ed49871

Browse files
coolsoftwaretylerdominicstop
authored andcommitted
fix: dynamic library builds for Reanimated
1 parent 221a3a5 commit ed49871

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

example/ios/Podfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ target 'IosContextMenuExample' do
2828
# Pods for testing
2929
end
3030

31+
pre_install do |installer|
32+
installer.pod_targets.each do |pod|
33+
if pod.name.eql?('RNReanimated')
34+
def pod.build_type
35+
Pod::BuildType.static_library
36+
end
37+
end
38+
end
39+
end
40+
3141
post_install do |installer|
3242
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
3343
react_native_post_install(

0 commit comments

Comments
 (0)