1# Copyright (c) Meta Platforms, Inc. and affiliates. 2# 3# This source code is licensed under the MIT license found in the 4# LICENSE file in the root directory of this source tree. 5 6 7# It sets up the Fabric dependencies. 8# 9# @parameter react_native_path: relative path to react-native 10def setup_fabric!(react_native_path: "../node_modules/react-native") 11 pod 'ABI48_0_0React-Fabric', :path => "#{react_native_path}/ReactCommon", :project_name => 'ABI48_0_0' 12 pod 'ABI48_0_0React-rncore', :path => "#{react_native_path}/ReactCommon", :project_name => 'ABI48_0_0' 13 pod 'ABI48_0_0React-graphics', :path => "#{react_native_path}/ReactCommon/react/renderer/graphics", :project_name => 'ABI48_0_0' 14 pod 'ABI48_0_0React-RCTFabric', :path => "#{react_native_path}/React", :project_name => 'ABI48_0_0', :modular_headers => true 15 # pod 'ABI48_0_0RCT-Folly/Fabric', :podspec => "#{react_native_path}/third-party-podspecs/RCT-Folly.podspec" 16end 17