From 7de3460cb358d6a04e10be36a5fd2b1cc1909ce3 Mon Sep 17 00:00:00 2001 From: zeroskylian Date: Thu, 10 Apr 2025 19:39:10 +0800 Subject: [PATCH 1/2] pref: add privacy info --- .../contents.xcworkspacedata | 7 ++++++ Package.swift | 6 ++--- Sources/PrivacyInfo.xcprivacy | 24 +++++++++++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata create mode 100644 Sources/PrivacyInfo.xcprivacy diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Package.swift b/Package.swift index 1b23bb7..574db01 100644 --- a/Package.swift +++ b/Package.swift @@ -1,17 +1,17 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.6 import PackageDescription let package = Package( name: "Then", platforms: [ - .macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2) + .macOS(.v11), .iOS(.v11), .tvOS(.v12), .watchOS(.v2) ], products: [ .library(name: "Then", targets: ["Then"]), ], targets: [ - .target(name: "Then"), + .target(name: "Then", path: "Sources", resources: [.copy("PrivacyInfo.xcprivacy")]), .testTarget(name: "ThenTests", dependencies: ["Then"]), ] ) diff --git a/Sources/PrivacyInfo.xcprivacy b/Sources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..77fd80a --- /dev/null +++ b/Sources/PrivacyInfo.xcprivacy @@ -0,0 +1,24 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPITypeReasons + + CA92.1 + 1C8F.1 + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + + + + From 9b6becba90d7b8a206ef773fbe0d63f82a61e927 Mon Sep 17 00:00:00 2001 From: zeroskylian Date: Thu, 10 Apr 2025 19:40:04 +0800 Subject: [PATCH 2/2] pref: upgrade watch os version --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 574db01..e03661b 100644 --- a/Package.swift +++ b/Package.swift @@ -5,7 +5,7 @@ import PackageDescription let package = Package( name: "Then", platforms: [ - .macOS(.v11), .iOS(.v11), .tvOS(.v12), .watchOS(.v2) + .macOS(.v11), .iOS(.v11), .tvOS(.v12), .watchOS(.v5) ], products: [ .library(name: "Then", targets: ["Then"]),