Skip to content

Commit

Permalink
chore: Add privacy manifest & Bump crt to v0.30.0 (#697)
Browse files Browse the repository at this point in the history
* 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 <chanyoo@amazon.com>
  • Loading branch information
sichanyoo and Sichan Yoo authored Apr 18, 2024
1 parent 7be2bd8 commit b7ca511
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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"),
Expand Down
14 changes: 14 additions & 0 deletions Sources/ClientRuntime/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>

0 comments on commit b7ca511

Please sign in to comment.