From 4df793f75bb178ffd0217ff745de1e1c10b14098 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Fri, 2 Dec 2022 04:09:02 -0800 Subject: [PATCH] Don't use the internal `native_modules.rb` script yet (#35531) Summary: Revert the template `Podfile` to using `react-native-community/cli-platform-ios/native_modules`. The new internal script currently has a hard-coded path to `react-native-community/cli-platform-ios` which may not work in monorepos. The path in the `Podfile` is also hard-coded, but this is a file that the user has access to and can fix themselves if necessary. ## Changelog [iOS] [Fixed] - Don't use the internal `native_modules.rb` script yet, as it hides a hard-coded path Pull Request resolved: https://github.com/facebook/react-native/pull/35531 Test Plan: n/a Reviewed By: rshest Differential Revision: D41682119 Pulled By: cortinico fbshipit-source-id: 1822fcd20a794dc9df6e8d6f36615e90b42c1a94 --- template/ios/Podfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/ios/Podfile b/template/ios/Podfile index 72b98d9244fb73..15021a3e451014 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -1,5 +1,5 @@ require_relative '../node_modules/react-native/scripts/react_native_pods' -require_relative '../node_modules/react-native/scripts/native_modules' +require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' platform :ios, min_ios_version_supported prepare_react_native_project!