From 7d91b4f14d1396bb3604ffbc1d3c8c209cf218b4 Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Fri, 10 May 2024 09:48:11 +0200 Subject: [PATCH 1/4] bump SwiftCSV Cocoapods version string --- SwiftCSV.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SwiftCSV.podspec b/SwiftCSV.podspec index 148926d..bd7f874 100644 --- a/SwiftCSV.podspec +++ b/SwiftCSV.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SwiftCSV" - s.version = "0.9.0" + s.version = "0.9.1" s.summary = "CSV parser for Swift" s.homepage = "https://github.com/swiftcsv/SwiftCSV" s.license = { :type => "MIT", :file => "LICENSE" } From ab5224f9ddaa9eb1ecbeb58cefd35c63e49ea65b Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Fri, 10 May 2024 09:56:18 +0200 Subject: [PATCH 2/4] update Changelog for past releases --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0952f49..9858a72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,19 @@ Other: --> ## Upcoming +## 0.9.1 + +Other: + +- Fix project settings. + +## 0.9.0 + +Other: + +- Fix local testing. + +## 0.8.2 Bugfixes: From 82e47811921e666e8f0fa6ee7a6c710bede79fa8 Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Fri, 10 May 2024 09:56:39 +0200 Subject: [PATCH 3/4] add Privacy Manifest files --- CHANGELOG.md | 5 +++++ Package.swift | 9 ++++++--- README.md | 4 ++++ SwiftCSV.podspec | 1 + SwiftCSV/Resources/PrivacyInfo.xcprivacy | 14 ++++++++++++++ 5 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 SwiftCSV/Resources/PrivacyInfo.xcprivacy diff --git a/CHANGELOG.md b/CHANGELOG.md index 9858a72..20312c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,11 @@ Other: --> ## Upcoming + +Other: + +- Add Privacy Manifest files. + ## 0.9.1 Other: diff --git a/Package.swift b/Package.swift index bcce57e..e47c867 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.5 +// swift-tools-version: 5.6 import PackageDescription @@ -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] diff --git a/README.md b/README.md index 55c8627..1f4fa06 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/SwiftCSV.podspec b/SwiftCSV.podspec index bd7f874..dc2473e 100644 --- a/SwiftCSV.podspec +++ b/SwiftCSV.podspec @@ -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 diff --git a/SwiftCSV/Resources/PrivacyInfo.xcprivacy b/SwiftCSV/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..6af1641 --- /dev/null +++ b/SwiftCSV/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + From 263b6820358fe9591f3ab712d0807199d7a8fd9b Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Fri, 10 May 2024 11:20:30 +0200 Subject: [PATCH 4/4] add Privacy Manifest to Xcode project/Carthage --- SwiftCSV.xcodeproj/project.pbxproj | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/SwiftCSV.xcodeproj/project.pbxproj b/SwiftCSV.xcodeproj/project.pbxproj index 6af206d..269b322 100644 --- a/SwiftCSV.xcodeproj/project.pbxproj +++ b/SwiftCSV.xcodeproj/project.pbxproj @@ -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 */; }; @@ -147,6 +151,7 @@ 508CA1042772039E0084C8E8 /* CSVDelimiterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSVDelimiterTests.swift; sourceTree = ""; }; 50A2B23324894DC900B168A9 /* NewlineTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NewlineTests.swift; sourceTree = ""; }; 50B3EEA3286F8A84007B3956 /* CSVDelimiter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSVDelimiter.swift; sourceTree = ""; }; + 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; 50F241A4274BB8DB00520A69 /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = ""; }; 50F241A5274BBDF000520A69 /* SwiftCSV.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = SwiftCSV.podspec; sourceTree = ""; }; 50F241A6274BBDF000520A69 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; @@ -265,6 +270,7 @@ BE9B02D71CBE57B8009FE424 /* Parser.swift */, 508975D61DBF34CF006F3DBE /* ParsingState.swift */, DFAD8B7A28B601EB0042BB56 /* Serializer.swift */, + 50B575D82BEE1E2E006C9262 /* Resources */, ); path = SwiftCSV; sourceTree = ""; @@ -288,6 +294,14 @@ path = SwiftCSVTests; sourceTree = ""; }; + 50B575D82BEE1E2E006C9262 /* Resources */ = { + isa = PBXGroup; + children = ( + 50B575D92BEE1E2E006C9262 /* PrivacyInfo.xcprivacy */, + ); + path = Resources; + sourceTree = ""; + }; DDF406462AB83CDE00A2B058 /* Resources */ = { isa = PBXGroup; children = ( @@ -534,6 +548,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 50B575DA2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -553,6 +568,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 50B575DB2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -572,6 +588,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 50B575DC2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -591,6 +608,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 50B575DD2BEE1E2E006C9262 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; };