From da0f8ac060d853d8229423559c9338646dd11455 Mon Sep 17 00:00:00 2001 From: siddharthkul Date: Tue, 23 Jul 2024 08:59:35 -0700 Subject: [PATCH] Fix Privacy Manifest file path by providing targets --- .../react-native/scripts/cocoapods/privacy_manifest_utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/scripts/cocoapods/privacy_manifest_utils.rb b/packages/react-native/scripts/cocoapods/privacy_manifest_utils.rb index e7c7fda8907d7b..1d238fd88ac1a1 100644 --- a/packages/react-native/scripts/cocoapods/privacy_manifest_utils.rb +++ b/packages/react-native/scripts/cocoapods/privacy_manifest_utils.rb @@ -7,7 +7,7 @@ module PrivacyManifestUtils def self.add_aggregated_privacy_manifest(installer) user_project = get_user_project_from(installer) targets = get_application_targets(user_project) - file_path = get_privacyinfo_file_path(user_project) + file_path = get_privacyinfo_file_path(user_project, targets) privacy_info = read_privacyinfo_file(file_path) || { "NSPrivacyCollectedDataTypes" => [],