Skip to content

Commit

Permalink
Add patch to fix Reanimated podspec
Browse files Browse the repository at this point in the history
Without this patch, Reanimated tries to use Hermes version of React Native and produced a build failure. Seems there's an issue in the `podspec` file, as the JSC module is not being added.
Reference: software-mansion/react-native-reanimated#4254
  • Loading branch information
fluiddot committed Jun 9, 2023
1 parent 50ddcdc commit 9538f8e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/react-native-reanimated+2.17.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/node_modules/react-native-reanimated/RNReanimated.podspec b/node_modules/react-native-reanimated/RNReanimated.podspec
index 1cbeafc..34f49db 100644
--- a/node_modules/react-native-reanimated/RNReanimated.podspec
+++ b/node_modules/react-native-reanimated/RNReanimated.podspec
@@ -80,6 +80,7 @@ Pod::Spec.new do |s|
s.dependency 'Yoga'
s.dependency 'DoubleConversion'
s.dependency 'glog'
+ s.dependency 'React-jsc'

if config[:react_native_minor_version] == 62
s.dependency 'ReactCommon/callinvoker'

0 comments on commit 9538f8e

Please sign in to comment.