Skip to content

Commit 6aac7c1

Browse files
Add Privacy Manifest (#138)
* bump SwiftCSV Cocoapods version string * update Changelog for past releases * add Privacy Manifest files * add Privacy Manifest to Xcode project/Carthage
1 parent ab5224f commit 6aac7c1

File tree

6 files changed

+48
-3
lines changed

6 files changed

+48
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ Other:
99
-->
1010

1111
## Upcoming
12+
13+
Other:
14+
15+
- Add Privacy Manifest files.
16+
1217
## 0.9.1
1318

1419
Other:

Package.swift

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.5
1+
// swift-tools-version: 5.6
22

33
import PackageDescription
44

@@ -17,13 +17,16 @@ let package = Package(
1717
.target(
1818
name: "SwiftCSV",
1919
dependencies: [],
20-
path: "SwiftCSV"),
20+
path: "SwiftCSV",
21+
resources: [
22+
.process("Resources/PrivacyInfo.xcprivacy"),
23+
]),
2124
.testTarget(
2225
name: "SwiftCSVTests",
2326
dependencies: ["SwiftCSV"],
2427
path: "SwiftCSVTests",
2528
resources: [
26-
.copy("TestData")
29+
.copy("TestData"),
2730
]),
2831
],
2932
swiftLanguageVersions: [.v5, .v4_2]

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,7 @@ github "swiftcsv/SwiftCSV"
153153
```
154154
.package(url: "https://github.com/swiftcsv/SwiftCSV.git", from: "0.8.0")
155155
```
156+
157+
## Privacy Manifest
158+
159+
The package ships with an empty Privacy Manifest because it doesn't access or track any sensitive data.

SwiftCSV.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ Pod::Spec.new do |s|
1717
s.watchos.deployment_target = "4.0"
1818

1919
s.source_files = "SwiftCSV/**/*.swift"
20+
s.resource_bundles = {'SwiftCSV' => ['SwiftCSV/Resources/*.xcprivacy']}
2021
s.requires_arc = true
2122
end

SwiftCSV.xcodeproj/project.pbxproj

+18
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
50B3EEA5286F8AA3007B3956 /* CSVDelimiter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */; };
5151
50B3EEA6286F8AA4007B3956 /* CSVDelimiter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */; };
5252
50B3EEA7286F8AA5007B3956 /* CSVDelimiter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */; };
53+
50B575DA2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
54+
50B575DB2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
55+
50B575DC2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
56+
50B575DD2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */; };
5357
5FB74B9B1CCB9274009DDBF1 /* SwiftCSV.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5FB74B911CCB9274009DDBF1 /* SwiftCSV.framework */; };
5458
5FB74BB71CCB929D009DDBF1 /* SwiftCSV.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5FB74BAD1CCB929D009DDBF1 /* SwiftCSV.framework */; };
5559
5FB74BD11CCB92E5009DDBF1 /* CSV.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3DAAEE9B1C74C7EC00A933DB /* CSV.swift */; };
@@ -147,6 +151,7 @@
147151
508CA1042772039E0084C8E8 /* CSVDelimiterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSVDelimiterTests.swift; sourceTree = "<group>"; };
148152
50A2B23324894DC900B168A9 /* NewlineTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NewlineTests.swift; sourceTree = "<group>"; };
149153
50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSVDelimiter.swift; sourceTree = "<group>"; };
154+
50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
150155
50F241A4274BB8DB00520A69 /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
151156
50F241A5274BBDF000520A69 /* SwiftCSV.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = SwiftCSV.podspec; sourceTree = "<group>"; };
152157
50F241A6274BBDF000520A69 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
@@ -265,6 +270,7 @@
265270
BE9B02D71CBE57B8009FE424 /* Parser.swift */,
266271
508975D61DBF34CF006F3DBE /* ParsingState.swift */,
267272
DFAD8B7A28B601EB0042BB56 /* Serializer.swift */,
273+
50B575D82BEE1E2E006C9262 /* Resources */,
268274
);
269275
path = SwiftCSV;
270276
sourceTree = "<group>";
@@ -288,6 +294,14 @@
288294
path = SwiftCSVTests;
289295
sourceTree = "<group>";
290296
};
297+
50B575D82BEE1E2E006C9262 /* Resources */ = {
298+
isa = PBXGroup;
299+
children = (
300+
50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */,
301+
);
302+
path = Resources;
303+
sourceTree = "<group>";
304+
};
291305
DDF406462AB83CDE00A2B058 /* Resources */ = {
292306
isa = PBXGroup;
293307
children = (
@@ -534,6 +548,7 @@
534548
isa = PBXResourcesBuildPhase;
535549
buildActionMask = 2147483647;
536550
files = (
551+
50B575DA2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
537552
);
538553
runOnlyForDeploymentPostprocessing = 0;
539554
};
@@ -553,6 +568,7 @@
553568
isa = PBXResourcesBuildPhase;
554569
buildActionMask = 2147483647;
555570
files = (
571+
50B575DB2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
556572
);
557573
runOnlyForDeploymentPostprocessing = 0;
558574
};
@@ -572,6 +588,7 @@
572588
isa = PBXResourcesBuildPhase;
573589
buildActionMask = 2147483647;
574590
files = (
591+
50B575DC2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
575592
);
576593
runOnlyForDeploymentPostprocessing = 0;
577594
};
@@ -591,6 +608,7 @@
591608
isa = PBXResourcesBuildPhase;
592609
buildActionMask = 2147483647;
593610
files = (
611+
50B575DD2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */,
594612
);
595613
runOnlyForDeploymentPostprocessing = 0;
596614
};
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyTracking</key>
6+
<false/>
7+
<key>NSPrivacyCollectedDataTypes</key>
8+
<array/>
9+
<key>NSPrivacyTrackingDomains</key>
10+
<array/>
11+
<key>NSPrivacyAccessedAPITypes</key>
12+
<array/>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)