diff --git a/package.json b/package.json index a29bacdae4d875..d195e03b4a1967 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "scripts/ios-configure-glog.sh", "scripts/launchPackager.bat", "scripts/launchPackager.command", + "scripts/native_modules.rb", "scripts/node-binary.sh", "scripts/packager.sh", "scripts/packager-reporter.js", diff --git a/scripts/native_modules.rb b/scripts/native_modules.rb new file mode 100644 index 00000000000000..729035ddd91d71 --- /dev/null +++ b/scripts/native_modules.rb @@ -0,0 +1,6 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this source tree. + +require_relative '../../@react-native-community/cli-platform-ios/native_modules' diff --git a/template/ios/Podfile b/template/ios/Podfile index 01506faf7913c7..56a960b2367bf0 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-community/cli-platform-ios/native_modules' +require_relative '../node_modules/react-native/scripts/native_modules' platform :ios, '11.0' install! 'cocoapods', :deterministic_uuids => false