diff --git a/Package.swift b/Package.swift index 01d3fc2..5924b7d 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.2 +// swift-tools-version:5.3 /** * Copyright IBM Corporation and the Kitura project authors 2018-2020 @@ -38,15 +38,18 @@ let package = Package( .package(url: "https://github.com/Kitura/KituraContracts.git", from: "2.0.1") ], targets: [ - .target(name: "SwiftJWT", dependencies: [ - "LoggerAPI", - "KituraContracts", - "CryptorRSA", - "Cryptor", - "CryptorECC", - ]), + .target(name: "SwiftJWT", + dependencies: [ + "LoggerAPI", + "KituraContracts", + "CryptorRSA", + "Cryptor", + "CryptorECC" + ], + path: "Sources", + exclude: [], + resources:[.copy("PrivacyInfo.xcprivacy")] + ), .testTarget(name: "SwiftJWTTests", dependencies: ["SwiftJWT"]) ] ) - - diff --git a/Sources/PrivacyInfo.xcprivacy b/Sources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..44e00f4 --- /dev/null +++ b/Sources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + NSPrivacyTrackingDomains + + NSPrivacyTracking + + + diff --git a/SwiftJWT.podspec b/SwiftJWT.podspec index 6e54bf3..fa65870 100644 --- a/SwiftJWT.podspec +++ b/SwiftJWT.podspec @@ -18,4 +18,5 @@ Pod::Spec.new do |s| s.dependency 'BlueECC', '~> 1.2.200' s.dependency 'LoggerAPI', '~> 2.0.0' s.dependency 'KituraContracts', '~> 2.0.1' + s.resource_bundles = {'SwiftJWT' => ['Source/PrivacyInfo.xcprivacy']} end