From 0f5d16883f80349af12c06c1df105676cc6ec96b Mon Sep 17 00:00:00 2001
From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com>
Date: Mon, 8 Apr 2024 15:38:33 +0530
Subject: [PATCH 1/4] chore: move Privacy Manifest under sources directory
---
PrivacyInfo.xcprivacy => Sources/Resources/PrivacyInfo.xcprivacy | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename PrivacyInfo.xcprivacy => Sources/Resources/PrivacyInfo.xcprivacy (100%)
diff --git a/PrivacyInfo.xcprivacy b/Sources/Resources/PrivacyInfo.xcprivacy
similarity index 100%
rename from PrivacyInfo.xcprivacy
rename to Sources/Resources/PrivacyInfo.xcprivacy
From 8a9e48eb4f7ccabed6a5927bc32d099a4722a3fe Mon Sep 17 00:00:00 2001
From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com>
Date: Mon, 8 Apr 2024 15:39:43 +0530
Subject: [PATCH 2/4] fix: correct the privacy tracking domain
Append slash as the suffix
---
Sources/Resources/PrivacyInfo.xcprivacy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Sources/Resources/PrivacyInfo.xcprivacy b/Sources/Resources/PrivacyInfo.xcprivacy
index 76846602..80af55f1 100644
--- a/Sources/Resources/PrivacyInfo.xcprivacy
+++ b/Sources/Resources/PrivacyInfo.xcprivacy
@@ -94,7 +94,7 @@
NSPrivacyTrackingDomains
- rudderstack.com
+ rudderstack.com/
From 76a247b29ccfbcc2006aa4e0dfc6e1065cb599d3 Mon Sep 17 00:00:00 2001
From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com>
Date: Mon, 8 Apr 2024 15:40:44 +0530
Subject: [PATCH 3/4] chore: mention Privacy Manifest file new path in the
Podspec
---
Rudder.podspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Rudder.podspec b/Rudder.podspec
index 197256ac..c2073545 100644
--- a/Rudder.podspec
+++ b/Rudder.podspec
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.author = { "RudderStack" => "sdk@rudderstack.com" }
s.source = { :git => "https://github.com/rudderlabs/rudder-sdk-ios.git", :tag => "v#{s.version}" }
- s.resource_bundles = { s.name => 'PrivacyInfo.xcprivacy' }
+ s.resource_bundles = { s.name => 'Sources/Resources/PrivacyInfo.xcprivacy' }
s.ios.deployment_target = '12.0'
From 06d6fb11c29f27d13a1b9094a831c73ac3d9f787 Mon Sep 17 00:00:00 2001
From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com>
Date: Mon, 8 Apr 2024 15:41:49 +0530
Subject: [PATCH 4/4] fix: mention correct Privacy Manifest file path in
Package.swift
---
Package.swift | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Package.swift b/Package.swift
index bc9caf7c..e501db43 100644
--- a/Package.swift
+++ b/Package.swift
@@ -25,7 +25,7 @@ let package = Package(
path: "Sources",
sources: ["Classes/"],
resources: [
- .copy("PrivacyInfo.xcprivacy")
+ .copy("Resources/PrivacyInfo.xcprivacy")
],
publicHeadersPath: "Classes/Headers/Public/",
cSettings: [