diff --git a/Package.resolved b/Package.resolved index 16438cc..c26287d 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,16 +1,14 @@ { - "object": { - "pins": [ - { - "package": "ASN1Swift", - "repositoryURL": "https://github.com/tikhop/ASN1Swift", - "state": { - "branch": null, - "revision": "177417b6bf89431a0750ee640012b6aed8961c6a", - "version": "1.2.5" - } + "pins" : [ + { + "identity" : "asn1swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/tikhop/ASN1Swift", + "state" : { + "revision" : "4e525ca3064fd45751b80c9ae6a2c16ea7b395e9", + "version" : "1.2.6" } - ] - }, - "version": 1 + } + ], + "version" : 2 } diff --git a/Package.swift b/Package.swift index c0086df..fc0e116 100644 --- a/Package.swift +++ b/Package.swift @@ -24,7 +24,9 @@ let package = Package( dependencies: ["ASN1Swift"], path: "Sources", exclude: ["Bundle+Private.swift", "Objc/InAppReceipt+Objc.swift"], - resources: [.process("AppleIncRootCertificate.cer"), .process("StoreKitTestCertificate.cer")] + resources: [.process("AppleIncRootCertificate.cer"), + .process("StoreKitTestCertificate.cer"), + .process("PrivacyInfo.xcprivacy")] ), .target( name: "TPInAppReceipt-Objc", diff --git a/Sources/PrivacyInfo.xcprivacy b/Sources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..ab604cf --- /dev/null +++ b/Sources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + + diff --git a/TPInAppReceipt.podspec b/TPInAppReceipt.podspec index bfe7734..4d0ff1b 100644 --- a/TPInAppReceipt.podspec +++ b/TPInAppReceipt.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "TPInAppReceipt" - s.version = "3.4.0" + s.version = "3.4.1" s.summary = "Reading and Validating In App Purchase Receipt Locally" s.description = "A lightweight iOS/OSX library for reading and validating Apple In App Purchase Receipt locally. Pure swift, No OpenSSL!" @@ -23,8 +23,8 @@ Pod::Spec.new do |s| s.subspec 'Core' do |core| core.exclude_files = "Sources/Objc/*.{swift}" core.source_files = "Sources/*.{swift}" - core.resources = "Sources/AppleIncRootCertificate.cer", "Sources/StoreKitTestCertificate.cer" - core.dependency 'ASN1Swift', '~> 1.2.5' + core.resources = "Sources/AppleIncRootCertificate.cer", "Sources/StoreKitTestCertificate.cer", "Source/PrivacyInfo.xcprivacy" + core.dependency 'ASN1Swift', '~> 1.2.6' end s.subspec 'Objc' do |objc|