Add privacy manifest (#163)

This commit is contained in:
Keita Watanabe 2024-02-10 18:20:39 +09:00 committed by GitHub
parent 0f73f9401a
commit 9818a31809
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 1 deletions

View File

@ -20,7 +20,8 @@ let package = Package(
],
targets: [
.target(
name: "Defaults"
name: "Defaults",
resources: [.copy("PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "DefaultsTests",

View File

@ -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>