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 f730f69..1d4c177 100644
--- a/Package.swift
+++ b/Package.swift
@@ -1,17 +1,17 @@
-// swift-tools-version:5.0
+// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "Then",
platforms: [
- .macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2),
+ .macOS(.v12), .iOS(.v15), .tvOS(.v15), .watchOS(.v9)
],
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..6af1641
--- /dev/null
+++ b/Sources/PrivacyInfo.xcprivacy
@@ -0,0 +1,14 @@
+
+
+
+
+ NSPrivacyTracking
+
+ NSPrivacyCollectedDataTypes
+
+ NSPrivacyTrackingDomains
+
+ NSPrivacyAccessedAPITypes
+
+
+
diff --git a/Then.podspec b/Then.podspec
index a368947..bccac27 100644
--- a/Then.podspec
+++ b/Then.podspec
@@ -8,11 +8,12 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/devxoul/Then.git",
:tag => s.version.to_s }
s.source_files = "Sources/Then/*.swift"
+ s.resource_bundles = {"Then" => ["Sources/PrivacyInfo.xcprivacy"]}
s.requires_arc = true
s.swift_version = "5.0"
- s.ios.deployment_target = "9.0"
- s.osx.deployment_target = "10.9"
- s.tvos.deployment_target = "9.0"
- s.watchos.deployment_target = "2.0"
+ s.ios.deployment_target = "15.0"
+ s.osx.deployment_target = "12.0"
+ s.tvos.deployment_target = "15.0"
+ s.watchos.deployment_target = "9.0"
end