From a7aed70ab1cb2065e540a093175409c9cc35cf2d Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Fri, 17 Jan 2025 05:07:05 -0800 Subject: [PATCH] Fix Dependencies of RCTFabric for RCTInterpolateColorInRange (#48753) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48753 [This commit](https://github.com/facebook/react-native/commit/cc89ddd50bed869013082ad98eb0555a386cf7c9) introduced a dependency between RCTFabric and RCTAnimation because RCTFabric is now using `RCTInterpolateColorInRange` which is defined in `RCTAnimation`. To unblock the CI, I'm adding the dependency to the RCTFabric.podspec However, I'm not convinced that this is the proper fix. We should move the function to a common dependency between RCTFabric and RCTAnimation. Probably in `RCTUtils`. ## Changelog: [Internal] - Fix CI by making RCTFabric depend on RCTAnimation Reviewed By: GijsWeterings Differential Revision: D68322935 fbshipit-source-id: 57c8833e348fb69dc1b1703ffeedd3383405b4f8 --- packages/react-native/React/React-RCTFabric.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/React/React-RCTFabric.podspec b/packages/react-native/React/React-RCTFabric.podspec index 6fb7cd95e0e..fe4579d68f9 100644 --- a/packages/react-native/React/React-RCTFabric.podspec +++ b/packages/react-native/React/React-RCTFabric.podspec @@ -95,6 +95,7 @@ Pod::Spec.new do |s| add_dependency(s, "React-rendererdebug") add_dependency(s, "React-rendererconsistency") add_dependency(s, "React-runtimescheduler") + add_dependency(s, "React-RCTAnimation", :framework_name => 'RCTAnimation') add_dependency(s, "React-jsinspector", :framework_name => 'jsinspector_modern') add_dependency(s, "React-jsinspectortracing", :framework_name => 'jsinspector_moderntracing')