From a4d46d884f1500f4dc2d00c185b3a921bc578a09 Mon Sep 17 00:00:00 2001 From: Kaustubh Kulkarni <> Date: Tue, 26 Mar 2024 15:39:25 +0530 Subject: [PATCH 1/3] Added Privacy Manifest for iOS --- BonMot.podspec | 1 + BonMot.xcodeproj/project.pbxproj | 4 ++++ Package.swift | 1 + Sources/PrivacyInfo.xcprivacy | 14 ++++++++++++++ 4 files changed, 20 insertions(+) create mode 100644 Sources/PrivacyInfo.xcprivacy diff --git a/BonMot.podspec b/BonMot.podspec index f1f18ad2..64299d46 100644 --- a/BonMot.podspec +++ b/BonMot.podspec @@ -16,6 +16,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '11.0' s.ios.source_files = 'Sources/**/*.swift' + s.resource_bundles = {'BonMot' => ['Source/PrivacyInfo.xcprivacy']} s.tvos.deployment_target = '11.0' s.tvos.source_files = 'Sources/**/*.swift' diff --git a/BonMot.xcodeproj/project.pbxproj b/BonMot.xcodeproj/project.pbxproj index cec10636..fd47ce52 100644 --- a/BonMot.xcodeproj/project.pbxproj +++ b/BonMot.xcodeproj/project.pbxproj @@ -41,6 +41,7 @@ 526C7057268BCC61002C0C71 /* rz-logo-red.png in Resources */ = {isa = PBXBuildFile; fileRef = 526C704F268BCC61002C0C71 /* rz-logo-red.png */; }; 526C7058268BCC61002C0C71 /* rz-logo-red.png in Resources */ = {isa = PBXBuildFile; fileRef = 526C704F268BCC61002C0C71 /* rz-logo-red.png */; }; 526C7059268BCC86002C0C71 /* EBGaramond12-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = 526C704D268BCC61002C0C71 /* EBGaramond12-Regular.otf */; }; + 8ABEC01A2BB2D45E0069093C /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 8ABEC0192BB2D45E0069093C /* PrivacyInfo.xcprivacy */; }; AB30D4FF1D9C1EEC006ADC9D /* Composable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB30D4FE1D9C1EEC006ADC9D /* Composable.swift */; }; AB30D50C1D9CB4FE006ADC9D /* Tab.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB30D50B1D9CB4FE006ADC9D /* Tab.swift */; }; AB30D50D1D9CB4FE006ADC9D /* Tab.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB30D50B1D9CB4FE006ADC9D /* Tab.swift */; }; @@ -266,6 +267,7 @@ 526C704E268BCC61002C0C71 /* rz-logo-black.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "rz-logo-black.png"; sourceTree = ""; }; 526C704F268BCC61002C0C71 /* rz-logo-red.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "rz-logo-red.png"; sourceTree = ""; }; 5B8FFE322326F79900372DC0 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; + 8ABEC0192BB2D45E0069093C /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; AB167C8F1D997A2C0084808D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; AB30D4FE1D9C1EEC006ADC9D /* Composable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Composable.swift; sourceTree = ""; }; AB30D50B1D9CB4FE006ADC9D /* Tab.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tab.swift; sourceTree = ""; }; @@ -560,6 +562,7 @@ AB30D5041D9CB33B006ADC9D /* Helpers */, ABCD3D5F1D96F02F00273936 /* UIKit */, AB9C18D11D9975CE00A54787 /* Info.plist */, + 8ABEC0192BB2D45E0069093C /* PrivacyInfo.xcprivacy */, ); path = Sources; sourceTree = ""; @@ -873,6 +876,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 8ABEC01A2BB2D45E0069093C /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Package.swift b/Package.swift index 7c884f76..b09446f2 100644 --- a/Package.swift +++ b/Package.swift @@ -35,6 +35,7 @@ let package = Package( ], resources: [ .process("Resources"), + .copy("PrivacyInfo.xcprivacy"), ]), ], swiftLanguageVersions: [.v5] diff --git a/Sources/PrivacyInfo.xcprivacy b/Sources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..44e00f47 --- /dev/null +++ b/Sources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + NSPrivacyTrackingDomains + + NSPrivacyTracking + + + From 817f64ea87d6a472d6e0a67e0daf5befccc70f2c Mon Sep 17 00:00:00 2001 From: Kaustubh Kulkarni <> Date: Thu, 28 Mar 2024 12:53:55 +0530 Subject: [PATCH 2/3] code updated --- Package.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index b09446f2..3a59c62c 100644 --- a/Package.swift +++ b/Package.swift @@ -22,7 +22,9 @@ let package = Package( dependencies: [], path: "Sources", exclude: ["Info.plist"] - ), + resources: [ + .copy("PrivacyInfo.xcprivacy"), + ]), .testTarget( name: "BonMotTests", dependencies: ["BonMot"], From 65c2afd9dfd4912063ce1d25127136ea39f7672f Mon Sep 17 00:00:00 2001 From: Kaustubh Kulkarni <> Date: Thu, 28 Mar 2024 13:10:11 +0530 Subject: [PATCH 3/3] - code fix --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 3a59c62c..9350d02e 100644 --- a/Package.swift +++ b/Package.swift @@ -21,7 +21,7 @@ let package = Package( name: "BonMot", dependencies: [], path: "Sources", - exclude: ["Info.plist"] + exclude: ["Info.plist"], resources: [ .copy("PrivacyInfo.xcprivacy"), ]),