diff --git a/Package.swift b/Package.swift index f6689888..206e9cc5 100644 --- a/Package.swift +++ b/Package.swift @@ -19,7 +19,8 @@ let package = Package( "Resources/update_metadata.sh", "Info.plist"], resources: [ - .process("Resources/PhoneNumberMetadata.json") + .process("Resources/PhoneNumberMetadata.json"), + .copy("Resources/PrivacyInfo.xcprivacy") ]), .testTarget(name: "PhoneNumberKitTests", dependencies: ["PhoneNumberKit"], diff --git a/PhoneNumberKit.podspec b/PhoneNumberKit.podspec index c87e9bd5..7b7cd575 100644 --- a/PhoneNumberKit.podspec +++ b/PhoneNumberKit.podspec @@ -26,7 +26,10 @@ Pod::Spec.new do |s| core.tvos.deployment_target = '12.0' core.watchos.deployment_target = '4.0' core.source_files = 'PhoneNumberKit/*.{swift}' - core.resources = 'PhoneNumberKit/Resources/PhoneNumberMetadata.json' + core.resources = [ + 'PhoneNumberKit/Resources/PhoneNumberMetadata.json', + 'PhoneNumberKit/Resources/PrivacyInfo.xcprivacy' + ] end s.subspec 'UIKit' do |ui| diff --git a/PhoneNumberKit/Resources/PrivacyInfo.xcprivacy b/PhoneNumberKit/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 00000000..d6d4e1df --- /dev/null +++ b/PhoneNumberKit/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + + \ No newline at end of file