Skip to content

Commit

Permalink
add Privacy Manifest files
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineDominion committed May 10, 2024
1 parent ab5224f commit 82e4781
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Other:
-->

## Upcoming

Other:

- Add Privacy Manifest files.

## 0.9.1

Other:
Expand Down
9 changes: 6 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.5
// swift-tools-version: 5.6

import PackageDescription

Expand All @@ -17,13 +17,16 @@ let package = Package(
.target(
name: "SwiftCSV",
dependencies: [],
path: "SwiftCSV"),
path: "SwiftCSV",
resources: [
.process("Resources/PrivacyInfo.xcprivacy"),
]),
.testTarget(
name: "SwiftCSVTests",
dependencies: ["SwiftCSV"],
path: "SwiftCSVTests",
resources: [
.copy("TestData")
.copy("TestData"),
]),
],
swiftLanguageVersions: [.v5, .v4_2]
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ github "swiftcsv/SwiftCSV"
```
.package(url: "https://github.com/swiftcsv/SwiftCSV.git", from: "0.8.0")
```

## Privacy Manifest

The package ships with an empty Privacy Manifest because it doesn't access or track any sensitive data.
1 change: 1 addition & 0 deletions SwiftCSV.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = "4.0"

s.source_files = "SwiftCSV/**/*.swift"
s.resource_bundles = {'SwiftCSV' => ['SwiftCSV/Resources/*.xcprivacy']}
s.requires_arc = true
end
14 changes: 14 additions & 0 deletions SwiftCSV/Resources/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>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>

0 comments on commit 82e4781

Please sign in to comment.