From b7ca51127fc65ee6e38bd7db42c12ad0a3b01a24 Mon Sep 17 00:00:00 2001 From: Chan <55515281+sichanyoo@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:54:06 -0700 Subject: [PATCH] chore: Add privacy manifest & Bump crt to v0.30.0 (#697) * Add privacy manifest for future-proofing. Add manifest under resources for ClientRuntime target. * Move privacy manifest to correct spot. * Handle privacy manifest path for multiple platforms. * Simplify it back to origianl approach. * Version bump CRT to 0.30.0. --------- Co-authored-by: Sichan Yoo --- Package.swift | 5 ++++- Sources/ClientRuntime/PrivacyInfo.xcprivacy | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Sources/ClientRuntime/PrivacyInfo.xcprivacy diff --git a/Package.swift b/Package.swift index a330ddece..cdc2bab18 100644 --- a/Package.swift +++ b/Package.swift @@ -34,7 +34,7 @@ let package = Package( .library(name: "SmithyTestUtil", targets: ["SmithyTestUtil"]), ], dependencies: [ - .package(url: "https://github.com/awslabs/aws-crt-swift.git", exact: "0.29.0"), + .package(url: "https://github.com/awslabs/aws-crt-swift.git", exact: "0.30.0"), .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"), ], targets: [ @@ -44,6 +44,9 @@ let package = Package( "SmithyXML", .product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"), .product(name: "Logging", package: "swift-log"), + ], + resources: [ + .copy("PrivacyInfo.xcprivacy") ] ), .target(name: "SmithyReadWrite"), diff --git a/Sources/ClientRuntime/PrivacyInfo.xcprivacy b/Sources/ClientRuntime/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..e08a130bc --- /dev/null +++ b/Sources/ClientRuntime/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + NSPrivacyAccessedAPITypes + + +