mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
Lorenzo Sciandra
parent
d4220ccfb7
commit
b0eec6d4a7
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user