Skip to content

Commit 16f8589

Browse files
committed
VisionOS support added
1 parent 5ab1595 commit 16f8589

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

DataCompression.podspec

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "DataCompression"
3-
s.version = "3.8.0"
3+
s.version = "3.9.0"
44
s.summary = "Swift libcompression wrapper as an extension for the Data type (GZIP, ZLIB, LZFSE, LZMA, LZ4, deflate, RFC-1950, RFC-1951, RFC-1952)"
55
s.authors = { "Markus Wanke" => "[email protected]" }
66
s.homepage = "https://github.com/mw99/DataCompression"
@@ -9,10 +9,11 @@ Pod::Spec.new do |s|
99

1010
s.swift_version = '5'
1111

12-
s.ios.deployment_target = '9.0'
13-
s.osx.deployment_target = '10.11'
14-
s.tvos.deployment_target = '9.0'
15-
s.watchos.deployment_target = '2.0'
12+
s.ios.deployment_target = '12.0'
13+
s.osx.deployment_target = '10.13'
14+
s.tvos.deployment_target = '12.0'
15+
s.watchos.deployment_target = '4.0'
16+
s.visionos.deployment_target = '1.0'
1617

1718
s.source_files = 'Sources/DataCompression/*.swift'
1819
s.requires_arc = true

Package.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1-
// swift-tools-version:5.0
1+
// swift-tools-version:5.9
22

33
import PackageDescription
44

55
let package = Package(
66
name: "DataCompression",
7-
platforms: [.macOS(.v10_11), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)],
7+
platforms: [
8+
.macOS(.v10_13),
9+
.iOS(.v12),
10+
.tvOS(.v12),
11+
.watchOS(.v4),
12+
.visionOS(.v1),
13+
],
814
products: [
915
.library(
1016
name: "DataCompression",

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#### Swift version support
2222
| Library Version | Swift Version |
2323
|-----------------|---------------|
24+
| 3.9.0 | 6+ (Xcode 16)|
2425
| 3.8.0 | 5.7 (Xcode 14)|
2526
| 3.6.0 | 5.1 (Xcode 11)|
2627
| 3.5.0 | 5.0 |
@@ -192,6 +193,10 @@ You only need one file located at `Sources/DataCompression.swift`. Drag and drop
192193
## Change log / Upgrading guide
193194

194195

196+
##### Version `3.8.0` to `3.9.0`
197+
- Support for visionOS added.
198+
- All other platform support versions bumped in order to reduce compile time warnings.
199+
195200
##### Version `3.7.0` to `3.8.0`
196201
- Solved a bug causing crashes when using `.unzip()`, because of unaligned pointer loading caused by internal changes in Swift 5.7.
197202

0 commit comments

Comments
 (0)