diff --git a/Package.swift b/Package.swift index cc82364..52afb7b 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,7 @@ let package = Package( .library(name: "SwiftUserDefaults", targets: ["SwiftUserDefaults"]), ], targets: [ - .target(name: "SwiftUserDefaults", dependencies: []), + .target(name: "SwiftUserDefaults", dependencies: [], resources: [.copy("PrivacyInfo.xcprivacy")]), .testTarget(name: "SwiftUserDefaultsTests", dependencies: ["SwiftUserDefaults"]) ] ) diff --git a/Sources/SwiftUserDefaults/PrivacyInfo.xcprivacy b/Sources/SwiftUserDefaults/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..4636fcd --- /dev/null +++ b/Sources/SwiftUserDefaults/PrivacyInfo.xcprivacy @@ -0,0 +1,23 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + C56D.1 + + + + + diff --git a/swift-user-defaults.podspec b/swift-user-defaults.podspec index 399a958..29ca4f6 100644 --- a/swift-user-defaults.podspec +++ b/swift-user-defaults.podspec @@ -1,13 +1,14 @@ Pod::Spec.new do |s| s.name = "swift-user-defaults" s.module_name = "SwiftUserDefaults" - s.version = "0.0.4" + s.version = "0.0.5" s.summary = "A series of Swift friendly utilities for Foundation's UserDefaults class" s.homepage = "https://github.com/cookpad/swift-user-defaults" s.license = { :type => "MIT", :file => "LICENSE.txt" } s.authors = { 'Liam Nichols' => 'liam.nichols.ln@gmail.com', 'Ryan Paterson' => 'ryan-paterson@cookpad.com' } s.source = { :git => "https://github.com/cookpad/swift-user-defaults.git", :tag => "#{s.version}" } s.source_files = "Sources/**/*.{swift}" + s.resource_bundles = {'SwiftUserDefaults' => ['Sources/SwiftUserDefaults/PrivacyInfo.xcprivacy']} s.swift_version = "5.3" s.ios.deployment_target = '11.0'