From 6b56fb0d0b40728d0baef8566d754d7081363584 Mon Sep 17 00:00:00 2001 From: Blake Friedman Date: Mon, 13 May 2024 14:06:33 -0700 Subject: [PATCH] iOS autolinking.rb needs to export react_native_pods.rb (#44462) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44462 Users using the new `react-native/scripts/cocoapods/autolinking.rb` script will expect all of the helper methods previously exposed throug `react_native_pods.rb`. This was an oversight. Changelog: [iOS][Fixed] exposes react_native_pods methods through autolinking.rb Reviewed By: cipolleschi Differential Revision: D57066094 fbshipit-source-id: d65dc79430101c9c43cbd90d1456630e338a22bb --- packages/react-native/scripts/cocoapods/autolinking.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/scripts/cocoapods/autolinking.rb b/packages/react-native/scripts/cocoapods/autolinking.rb index bb5b0233d8f..fec826c541e 100644 --- a/packages/react-native/scripts/cocoapods/autolinking.rb +++ b/packages/react-native/scripts/cocoapods/autolinking.rb @@ -7,6 +7,7 @@ require 'json' require 'pathname' require 'cocoapods' require_relative './autolinking_utils.rb' +require_relative '../react_native_pods.rb' # Your project will have to depend on the @react-native-community/cli if you use this method # for listing React native modules.