Skip to content

Commit

Permalink
Fix pod install for swift libs using new arch
Browse files Browse the repository at this point in the history
  • Loading branch information
louiszawadzki committed Jun 23, 2023
1 parent 6c729ac commit 7b7c3ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/react-native/scripts/cocoapods/fabric.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#
# @parameter react_native_path: relative path to react-native
def setup_fabric!(react_native_path: "../node_modules/react-native", new_arch_enabled: false)
pod 'React-Fabric', :path => "#{react_native_path}/ReactCommon"
pod 'React-graphics', :path => "#{react_native_path}/ReactCommon/react/renderer/graphics"
pod 'React-Fabric', :path => "#{react_native_path}/ReactCommon", :modular_headers => true
pod 'React-graphics', :path => "#{react_native_path}/ReactCommon/react/renderer/graphics", :modular_headers => true
pod 'React-RCTFabric', :path => "#{react_native_path}/React", :modular_headers => true
pod 'React-ImageManager', :path => "#{react_native_path}/ReactCommon/react/renderer/imagemanager/platform/ios"
pod 'RCT-Folly/Fabric', :podspec => "#{react_native_path}/third-party-podspecs/RCT-Folly.podspec"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def use_react_native! (
pod 'React-Core/RCTWebSocket', :path => "#{prefix}/"
pod 'React-rncore', :path => "#{prefix}/ReactCommon"
pod 'React-cxxreact', :path => "#{prefix}/ReactCommon/cxxreact"
pod 'React-debug', :path => "#{prefix}/ReactCommon/react/debug"
pod 'React-utils', :path => "#{prefix}/ReactCommon/react/utils"
pod 'React-debug', :path => "#{prefix}/ReactCommon/react/debug", :modular_headers => true
pod 'React-utils', :path => "#{prefix}/ReactCommon/react/utils", :modular_headers => true

if hermes_enabled
setup_hermes!(:react_native_path => prefix, :fabric_enabled => fabric_enabled)
Expand Down

0 comments on commit 7b7c3ff

Please sign in to comment.