diff --git a/GoogleDataTransport.podspec b/GoogleDataTransport.podspec index 34acf67..9ee709c 100644 --- a/GoogleDataTransport.podspec +++ b/GoogleDataTransport.podspec @@ -47,6 +47,10 @@ Shared library for iOS SDK data transport needs. 'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}/"' } + s.resource_bundles = { + "#{s.module_name}_Privacy" => 'GoogleDataTransport/Resources/PrivacyInfo.xcprivacy' + } + # The nanopb pod sets these defs, so we must too. (We *do* require 16bit # (or larger) fields, so we'd have to set at least PB_FIELD_16BIT # anyways.) diff --git a/GoogleDataTransport/Resources/PrivacyInfo.xcprivacy b/GoogleDataTransport/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..1e83fa6 --- /dev/null +++ b/GoogleDataTransport/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,30 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeOtherDiagnosticData + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/Package.swift b/Package.swift index 7665088..a2efac6 100644 --- a/Package.swift +++ b/Package.swift @@ -67,6 +67,7 @@ let package = Package( "GDTCORLibrary", "GDTCCTLibrary", ], + resources: [.process("Resources/PrivacyInfo.xcprivacy")], publicHeadersPath: "GDTCORLibrary/Public", cSettings: [ .headerSearchPath("../"),