diff --git a/Package.swift b/Package.swift index 51cc419..d70cb4c 100644 --- a/Package.swift +++ b/Package.swift @@ -16,6 +16,10 @@ let package = Package( .target( name: "UBIBadgeView", dependencies: [], - path: "UBIBadgeView"), + path: "UBIBadgeView", + resources: [ + .process("PrivacyInfo.xcprivacy") + ] + ), ] ) diff --git a/UBIBadgeView.podspec b/UBIBadgeView.podspec index 0ccc534..1459655 100644 --- a/UBIBadgeView.podspec +++ b/UBIBadgeView.podspec @@ -9,5 +9,6 @@ Pod::Spec.new do |s| s.requires_arc = true s.source = { :git => 'https://github.com/ubiregiinc/UBIBadgeView.git', :tag => s.version.to_s } s.source_files = 'UBIBadgeView/*.swift' + s.resource_bundles = {'UBIBadgeView' => ['UBIBadgeView/PrivacyInfo.xcprivacy']} s.swift_version = '5.0' end diff --git a/UBIBadgeView/PrivacyInfo.xcprivacy b/UBIBadgeView/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..8ceb89c --- /dev/null +++ b/UBIBadgeView/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + + NSPrivacyAccessedAPITypes + + + + +