From 5e915e552b5b61aa0d44e08c2d947e9c5f7726e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Kapu=C5=9Bciak?= <39658211+kacperkapusciak@users.noreply.github.com> Date: Thu, 28 Jul 2022 08:53:51 +0200 Subject: [PATCH] fix: remove explicit folly version (#3416) ## Description As a version of folly can change between versions of React-native we need to remove an explicit version of `folly_version` from our libraries to let RN infer the correct version. Change based on https://github.com/th3rdwave/react-native-safe-area-context/commit/eb111ff4eebc8d06ca01e7d12d9661147d03da20 ## Changes Removed explicit folly version from RNReanimated.podspec ## Test code and steps to reproduce Build FabricExample/ ## Checklist - [ ] Ensured that CI passes --- RNReanimated.podspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RNReanimated.podspec b/RNReanimated.podspec index 2872c15344d..9ad3126d68a 100644 --- a/RNReanimated.podspec +++ b/RNReanimated.podspec @@ -54,7 +54,6 @@ end folly_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -DRNVERSION=' + rnVersion folly_compiler_flags = folly_flags + ' ' + '-Wno-comma -Wno-shorten-64-to-32' -folly_version = '2021.06.28.00-v2' boost_compiler_flags = '-Wno-documentation' fabric_flags = '' if fabric_enabled @@ -101,7 +100,7 @@ Pod::Spec.new do |s| if fabric_enabled s.dependency "React-RCTFabric" s.dependency "React-Codegen" - s.dependency "RCT-Folly", folly_version + s.dependency "RCT-Folly" else s.dependency "#{folly_prefix}Folly" end