diff --git a/CarthageSupport/DataCompression.xcodeproj/DataCompression_Info.plist b/CarthageSupport/DataCompression.xcodeproj/DataCompression_Info.plist index 57ada9f..b4349eb 100644 --- a/CarthageSupport/DataCompression.xcodeproj/DataCompression_Info.plist +++ b/CarthageSupport/DataCompression.xcodeproj/DataCompression_Info.plist @@ -18,7 +18,7 @@ CFBundleSignature ???? CFBundleVersion - $(CURRENT_PROJECT_VERSION) + 1 NSPrincipalClass diff --git a/DataCompression.podspec b/DataCompression.podspec index 7772366..a558171 100644 --- a/DataCompression.podspec +++ b/DataCompression.podspec @@ -1,13 +1,13 @@ Pod::Spec.new do |s| s.name = "DataCompression" - s.version = "3.5.0" + s.version = "3.6.0" s.summary = "Swift libcompression wrapper as an extension for the Data type (GZIP, ZLIB, LZFSE, LZMA, LZ4, deflate, RFC-1950, RFC-1951, RFC-1952)" s.authors = { "Markus Wanke" => "mw99@users.noreply.github.com" } s.homepage = "https://github.com/mw99/DataCompression" s.license = { :type => 'Apache 2.0', :file => 'LICENSE' } s.source = { :git => "https://github.com/mw99/DataCompression.git", :tag => s.version } - s.swift_version = '5.0' + s.swift_version = '5' s.ios.deployment_target = '9.0' s.osx.deployment_target = '10.11' diff --git a/Package.swift b/Package.swift index 44297dd..66fd243 100644 --- a/Package.swift +++ b/Package.swift @@ -1,9 +1,10 @@ -// swift-tools-version:4.0 +// swift-tools-version:5.0 import PackageDescription let package = Package( name: "DataCompression", + platforms: [.macOS(.v10_11), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)], products: [ .library( name: "DataCompression", diff --git a/README.md b/README.md index 4e1e2f1..e306a0d 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ #### Swift version support | Library Version | Swift Version | |-----------------|---------------| +| 3.7.0 | 5.1 (Xcode 11)| | 3.5.0 | 5.0 | | 3.1.0 | 4.2 | | 3.0.0 | 3.0 -> 4.1 | @@ -175,10 +176,10 @@ let package = Package( You then will need to add `import DataCompression` at the top of your swift source files to use the extension. -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. +The next time you run `swift build`, the new dependencies will be resolved. ```bash -$ swift build -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11 +$ swift build ``` @@ -190,6 +191,11 @@ You only need one file located at `Sources/DataCompression.swift`. Drag and drop ## Change log / Upgrading guide +##### Version `3.5.0` to `3.6.0` +- Target platforms finally added to the SPM Package file +- Carthage support improved +- Support for Xcode 11 SPM integration + ##### Version `3.4.0` to `3.5.0` - Fix that prevents a bug in Apples lzfse compressor when working with large chunks of data.