From 2f2281718a2ef905ffd15adf3b47a1b6b6fb8d95 Mon Sep 17 00:00:00 2001 From: Ilia Sidorenko Date: Mon, 13 Jan 2025 04:33:27 -0800 Subject: [PATCH] Resolve master specs repo warning shown in `pod install` (#48628) Summary: Fix for https://github.com/facebook/react-native/issues/48627 ## Changelog: [IOS] [FIXED] - Resolve "Your project does not explicitly specify the CocoaPods master specs repo" `pod install` warning Pull Request resolved: https://github.com/facebook/react-native/pull/48628 Test Plan: 1. Run `bundle exec pod install` 2. Observe the warning no longer showing Reviewed By: rshest Differential Revision: D68094563 Pulled By: fabriziocucci fbshipit-source-id: 8f7ef67e4c5f71af65b7958e67bb58e7277a3e0e --- packages/react-native/scripts/react_native_pods.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/scripts/react_native_pods.rb b/packages/react-native/scripts/react_native_pods.rb index 4d313dcc48f..4115944b2e9 100644 --- a/packages/react-native/scripts/react_native_pods.rb +++ b/packages/react-native/scripts/react_native_pods.rb @@ -41,9 +41,9 @@ end # This function prepares the project for React Native, before processing # all the target exposed by the framework. def prepare_react_native_project! - # Temporary solution to suppress duplicated GUID error. + # Temporary solution to suppress duplicated GUID error & master specs repo warning. # Can be removed once we move to generate files outside pod install. - install! 'cocoapods', :deterministic_uuids => false + install! 'cocoapods', :deterministic_uuids => false, :warn_for_unused_master_specs_repo => false ReactNativePodsUtils.create_xcode_env_if_missing end