Skip to content

Commit

Permalink
Add privacy manifest (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitwtnb committed Feb 10, 2024
1 parent 0f73f94 commit 9818a31
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Package.swift
Expand Up @@ -20,7 +20,8 @@ let package = Package(
],
targets: [
.target(
name: "Defaults"
name: "Defaults",
resources: [.copy("PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "DefaultsTests",
Expand Down
17 changes: 17 additions & 0 deletions Sources/PrivacyInfo.xcprivacy
@@ -0,0 +1,17 @@
<?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>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C56D.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit 9818a31

Please sign in to comment.