Skip to content

Commit 6abb8f3

Browse files
committed
Xcode 11 & Swift Package Manager 5 support added
1 parent b0619b2 commit 6abb8f3

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

CarthageSupport/DataCompression.xcodeproj/DataCompression_Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<key>CFBundleSignature</key>
1919
<string>????</string>
2020
<key>CFBundleVersion</key>
21-
<string>$(CURRENT_PROJECT_VERSION)</string>
21+
<string>1</string>
2222
<key>NSPrincipalClass</key>
2323
<string></string>
2424
</dict>

DataCompression.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Pod::Spec.new do |s|
22
s.name = "DataCompression"
3-
s.version = "3.5.0"
3+
s.version = "3.6.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" => "mw99@users.noreply.github.com" }
66
s.homepage = "https://github.com/mw99/DataCompression"
77
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
88
s.source = { :git => "https://github.com/mw99/DataCompression.git", :tag => s.version }
99

10-
s.swift_version = '5.0'
10+
s.swift_version = '5'
1111

1212
s.ios.deployment_target = '9.0'
1313
s.osx.deployment_target = '10.11'

Package.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
// swift-tools-version:4.0
1+
// swift-tools-version:5.0
22

33
import PackageDescription
44

55
let package = Package(
66
name: "DataCompression",
7+
platforms: [.macOS(.v10_11), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)],
78
products: [
89
.library(
910
name: "DataCompression",

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#### Swift version support
2222
| Library Version | Swift Version |
2323
|-----------------|---------------|
24+
| 3.7.0 | 5.1 (Xcode 11)|
2425
| 3.5.0 | 5.0 |
2526
| 3.1.0 | 4.2 |
2627
| 3.0.0 | 3.0 -> 4.1 |
@@ -175,10 +176,10 @@ let package = Package(
175176

176177
You then will need to add `import DataCompression` at the top of your swift source files to use the extension.
177178

178-
The next time you run `swift build`, the new dependencies will be resolved. Since the swift package manager still does not allow packages to define their minimum deployment target, you will have to define these on the command line. I expect this to be fixed in a future release of the swift package manager.
179+
The next time you run `swift build`, the new dependencies will be resolved.
179180

180181
```bash
181-
$ swift build -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11
182+
$ swift build
182183
```
183184

184185

@@ -190,6 +191,11 @@ You only need one file located at `Sources/DataCompression.swift`. Drag and drop
190191
## Change log / Upgrading guide
191192

192193

194+
##### Version `3.5.0` to `3.6.0`
195+
- Target platforms finally added to the SPM Package file
196+
- Carthage support improved
197+
- Support for Xcode 11 SPM integration
198+
193199
##### Version `3.4.0` to `3.5.0`
194200
- Fix that prevents a bug in Apples lzfse compressor when working with large chunks of data.
195201

0 commit comments

Comments
 (0)