From 28c7a86a55e029365dc802aef144a5b9370db219 Mon Sep 17 00:00:00 2001 From: Daniele Pantaleone Date: Tue, 30 Jan 2024 15:35:17 +0100 Subject: [PATCH] Added privacy manifest file --- Factory.podspec | 1 + Package.swift | 3 ++- Sources/Factory/PrivacyInfo.xcprivacy | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Sources/Factory/PrivacyInfo.xcprivacy diff --git a/Factory.podspec b/Factory.podspec index f45c5926..b212c37c 100644 --- a/Factory.podspec +++ b/Factory.podspec @@ -7,6 +7,7 @@ Pod::Spec.new do |s| s.author = "Michael Long" s.source = { :git => "https://github.com/hmlongco/Factory.git", :tag => "#{s.version}" } s.source_files = "Sources/**/*.swift" + s.resources = "Sources/**/*.xcprivacy" s.swift_version = '5.7' s.ios.deployment_target = "12.0" diff --git a/Package.swift b/Package.swift index dfa38d55..63f556c9 100644 --- a/Package.swift +++ b/Package.swift @@ -26,7 +26,8 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "Factory", - dependencies: []), + dependencies: [], + resources: [.copy("PrivacyInfo.xcprivacy")]), .testTarget( name: "FactoryTests", dependencies: ["Factory"]), diff --git a/Sources/Factory/PrivacyInfo.xcprivacy b/Sources/Factory/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..cb5085d0 --- /dev/null +++ b/Sources/Factory/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + +