Skip to content

Commit

Permalink
Merge pull request #317 from kitwtnb/add-privacy-manifest
Browse files Browse the repository at this point in the history
Add privacy manifest
  • Loading branch information
3lvis authored Feb 25, 2024
2 parents a73f7d0 + 049ef1a commit ad6abdf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.5

import PackageDescription

Expand All @@ -13,7 +13,8 @@ let package = Package(
targets: [
.target(
name: "Cache",
path: "Source"
path: "Source",
resources: [.copy("PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "CacheTests",
Expand Down
19 changes: 19 additions & 0 deletions Source/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit ad6abdf

Please sign in to comment.