Skip to content

Commit

Permalink
Add Privacy Manifest (#138)
Browse files Browse the repository at this point in the history
* bump SwiftCSV Cocoapods version string
* update Changelog for past releases
* add Privacy Manifest files
* add Privacy Manifest to Xcode project/Carthage
  • Loading branch information
DivineDominion authored May 11, 2024
1 parent ab5224f commit 6aac7c1
Show file tree
Hide file tree
Showing 6 changed files with 48 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
18 changes: 18 additions & 0 deletions SwiftCSV.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
50B3EEA5286F8AA3007B3956 /* CSVDelimiter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */; };
50B3EEA6286F8AA4007B3956 /* CSVDelimiter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */; };
50B3EEA7286F8AA5007B3956 /* CSVDelimiter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */; };
50B575DA2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
50B575DB2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
50B575DC2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
50B575DD2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
5FB74B9B1CCB9274009DDBF1 /* SwiftCSV.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5FB74B911CCB9274009DDBF1 /* SwiftCSV.framework */; };
5FB74BB71CCB929D009DDBF1 /* SwiftCSV.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5FB74BAD1CCB929D009DDBF1 /* SwiftCSV.framework */; };
5FB74BD11CCB92E5009DDBF1 /* CSV.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3DAAEE9B1C74C7EC00A933DB /* CSV.swift */; };
Expand Down Expand Up @@ -147,6 +151,7 @@
508CA1042772039E0084C8E8 /* CSVDelimiterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSVDelimiterTests.swift; sourceTree = "<group>"; };
50A2B23324894DC900B168A9 /* NewlineTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NewlineTests.swift; sourceTree = "<group>"; };
50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSVDelimiter.swift; sourceTree = "<group>"; };
50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
50F241A4274BB8DB00520A69 /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
50F241A5274BBDF000520A69 /* SwiftCSV.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = SwiftCSV.podspec; sourceTree = "<group>"; };
50F241A6274BBDF000520A69 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -265,6 +270,7 @@
BE9B02D71CBE57B8009FE424 /* Parser.swift */,
508975D61DBF34CF006F3DBE /* ParsingState.swift */,
DFAD8B7A28B601EB0042BB56 /* Serializer.swift */,
50B575D82BEE1E2E006C9262 /* Resources */,
);
path = SwiftCSV;
sourceTree = "<group>";
Expand All @@ -288,6 +294,14 @@
path = SwiftCSVTests;
sourceTree = "<group>";
};
50B575D82BEE1E2E006C9262 /* Resources */ = {
isa = PBXGroup;
children = (
50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */,
);
path = Resources;
sourceTree = "<group>";
};
DDF406462AB83CDE00A2B058 /* Resources */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -534,6 +548,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
50B575DA2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -553,6 +568,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
50B575DB2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -572,6 +588,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
50B575DC2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -591,6 +608,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
50B575DD2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
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 6aac7c1

Please sign in to comment.