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
This commit is contained in:
Ilia Sidorenko
2025-01-13 04:33:27 -08:00
committed by Facebook GitHub Bot
parent f832c450a5
commit 2f2281718a
@@ -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