From 6e236bb284ca717d81a0be3bb66f7f1a689a770b Mon Sep 17 00:00:00 2001 From: Nicko Maccharoli Date: Mon, 15 Jul 2024 23:46:35 +0900 Subject: [PATCH] Add in PrivacyInfo.xcprivacy --- Package.swift | 2 +- UIDeviceComplete.xcodeproj/project.pbxproj | 4 ++++ UIDeviceComplete/PrivacyInfo.xcprivacy | 23 ++++++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 UIDeviceComplete/PrivacyInfo.xcprivacy diff --git a/Package.swift b/Package.swift index 4e31a0b..a852356 100644 --- a/Package.swift +++ b/Package.swift @@ -31,7 +31,7 @@ let package = Package( .library(name: "UIDeviceComplete", targets: ["UIDeviceComplete"]) ], targets: [ - .target(name: "UIDeviceComplete", path: "Sources"), + .target(name: "UIDeviceComplete", resources: [.process("PrivacyInfo.xcprivacy")], path: "Sources"), ], swiftLanguageVersions: [.v5] ) diff --git a/UIDeviceComplete.xcodeproj/project.pbxproj b/UIDeviceComplete.xcodeproj/project.pbxproj index 5b1fc17..30790ac 100644 --- a/UIDeviceComplete.xcodeproj/project.pbxproj +++ b/UIDeviceComplete.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 4EF4F1102C4569760013D8F0 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 4EF4F10F2C4569760013D8F0 /* PrivacyInfo.xcprivacy */; }; AA1C219D1F385BEC0095BFBD /* DeviceFamily.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA1C21961F385BEC0095BFBD /* DeviceFamily.swift */; }; AA1C219E1F385BEC0095BFBD /* DeviceModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA1C21971F385BEC0095BFBD /* DeviceModel.swift */; }; AA1C219F1F385BEC0095BFBD /* Identifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA1C21981F385BEC0095BFBD /* Identifier.swift */; }; @@ -34,6 +35,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 4EF4F10F2C4569760013D8F0 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; AA1C21961F385BEC0095BFBD /* DeviceFamily.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DeviceFamily.swift; path = Sources/DeviceFamily.swift; sourceTree = SOURCE_ROOT; }; AA1C21971F385BEC0095BFBD /* DeviceModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DeviceModel.swift; path = Sources/DeviceModel.swift; sourceTree = SOURCE_ROOT; }; AA1C21981F385BEC0095BFBD /* Identifier.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Identifier.swift; path = Sources/Identifier.swift; sourceTree = SOURCE_ROOT; }; @@ -116,6 +118,7 @@ AAB1EF451F138685003BBCF2 /* Sources */ = { isa = PBXGroup; children = ( + 4EF4F10F2C4569760013D8F0 /* PrivacyInfo.xcprivacy */, AA1C21961F385BEC0095BFBD /* DeviceFamily.swift */, AA1C21971F385BEC0095BFBD /* DeviceModel.swift */, AA1C21981F385BEC0095BFBD /* Identifier.swift */, @@ -223,6 +226,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 4EF4F1102C4569760013D8F0 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/UIDeviceComplete/PrivacyInfo.xcprivacy b/UIDeviceComplete/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..e2be75e --- /dev/null +++ b/UIDeviceComplete/PrivacyInfo.xcprivacy @@ -0,0 +1,23 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyTracking + + +