From 6aa915c65e4200a4bf2948793787d3db2547d066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejn=C3=ADk?= Date: Thu, 4 Apr 2024 14:43:03 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20privacy=20manifest=20(#148)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACKategories.xcodeproj/project.pbxproj | 4 ++++ CHANGELOG.md | 1 + Package.swift | 7 ++++++- Sources/ACKategories/PrivacyInfo.xcprivacy | 17 +++++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 Sources/ACKategories/PrivacyInfo.xcprivacy diff --git a/ACKategories.xcodeproj/project.pbxproj b/ACKategories.xcodeproj/project.pbxproj index 2538ce40..ff263b76 100644 --- a/ACKategories.xcodeproj/project.pbxproj +++ b/ACKategories.xcodeproj/project.pbxproj @@ -48,6 +48,7 @@ 698376D12B3DA81200CD9E89 /* ThemeExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 698376CC2B3DA81200CD9E89 /* ThemeExtensions.swift */; }; 698376D22B3DA81200CD9E89 /* ThemeProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 698376CD2B3DA81200CD9E89 /* ThemeProvider.swift */; }; 698376D32B3DA81200CD9E89 /* GradientView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 698376CE2B3DA81200CD9E89 /* GradientView.swift */; }; + 69ACC1822BBDF8DC00A109DB /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 69ACC1812BBDF8DC00A109DB /* PrivacyInfo.xcprivacy */; }; 69ACD6CA2AFD130D0021127B /* ACKategories.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 69ACD6C22AFD130C0021127B /* ACKategories.framework */; }; 69ACD6D72AFD133A0021127B /* ACKategories.h in Sources */ = {isa = PBXBuildFile; fileRef = 69E0A5F92AFD10BE00C8E8D9 /* ACKategories.h */; }; 69ACD6D82AFD133A0021127B /* ArrayExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69E0A5F82AFD10BE00C8E8D9 /* ArrayExtensions.swift */; }; @@ -258,6 +259,7 @@ 698376CD2B3DA81200CD9E89 /* ThemeProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ThemeProvider.swift; sourceTree = ""; }; 698376CE2B3DA81200CD9E89 /* GradientView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GradientView.swift; sourceTree = ""; }; 699AC8EF2B73E66700B7B8AC /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 69ACC1812BBDF8DC00A109DB /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; 69ACD6C22AFD130C0021127B /* ACKategories.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ACKategories.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 69ACD6C92AFD130D0021127B /* ACKategoriesTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ACKategoriesTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 69DF225A2B459CC50025C555 /* PushNotifications.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PushNotifications.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -586,6 +588,7 @@ 69E0A5F42AFD10BE00C8E8D9 /* ACKategories */ = { isa = PBXGroup; children = ( + 69ACC1812BBDF8DC00A109DB /* PrivacyInfo.xcprivacy */, 69E0A5F92AFD10BE00C8E8D9 /* ACKategories.h */, 69E0A5F82AFD10BE00C8E8D9 /* ArrayExtensions.swift */, 6A72B2212B1A15AC00A59EDD /* BackGesture.swift */, @@ -1149,6 +1152,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 69ACC1822BBDF8DC00A109DB /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cb1ee6f..aa6d74cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ## Next +- Add privacy manifest ([#148](https://github.com/AckeeCZ/ACKategories/pull/148), kudos to @olejnjak) - Add new helpers for Combine+Concurrency ([#147](https://github.com/AckeeCZ/ACKategories/pull/147), kudos to @olejnjak) ## 6.13.0 diff --git a/Package.swift b/Package.swift index d03ecffc..e6f3765d 100644 --- a/Package.swift +++ b/Package.swift @@ -16,7 +16,12 @@ let package = Package( .library(name: "PushNotifications", targets: ["PushNotifications"]), ], targets: [ - .target(name: "ACKategories"), + .target( + name: "ACKategories", + resources: [ + .copy("PrivacyInfo.xcprivacy"), + ] + ), .testTarget( name: "ACKategoriesTests", dependencies: [ diff --git a/Sources/ACKategories/PrivacyInfo.xcprivacy b/Sources/ACKategories/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..b4326896 --- /dev/null +++ b/Sources/ACKategories/PrivacyInfo.xcprivacy @@ -0,0 +1,17 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + +