Skip to content

Commit

Permalink
Dropped Swift 4.2 Support, updated deployment targets (#38)
Browse files Browse the repository at this point in the history
* Dropped Swift 4.2 Support, updated deployment targets
  • Loading branch information
dfuerle authored Apr 30, 2019
1 parent 4fd4299 commit 3a43dd9
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 72 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ env:
- DESTINATION="OS=12.2,name=iPhone XS" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="YES"
- DESTINATION="OS=11.4,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
- DESTINATION="OS=10.3.1,name=iPhone 7" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
- DESTINATION="OS=9.3,name=iPhone 5S" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
- DESTINATION="OS=8.4,name=iPhone 5" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" POD_LINT="NO"
- DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
- DESTINATION="OS=12.0,name=Apple TV 4K" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
- DESTINATION="OS=5.0,name=Apple Watch Series 4 - 44mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" POD_LINT="NO"
- DESTINATION="OS=12.2,name=Apple TV 4K" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
- DESTINATION="OS=5.2,name=Apple Watch Series 4 - 44mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" POD_LINT="NO"

before_install:
- gem update bundler
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
All notable changes to this project will be documented in this file.
`Elevate` adheres to [Semantic Versioning](http://semver.org/).

#### 4.x Releases

* `4.0.x` Releases = [4.0.0](#400)

#### 3.x Releases

* `3.1.x` Releases = [3.1.0](#310)
* `3.0.x` Releases = [3.0.0](#300) | [3.0.1](#301) | [3.0.2](#302)

#### 2.x Releases
Expand All @@ -20,6 +25,18 @@ All notable changes to this project will be documented in this file.

---

## [4.0.0](https://github.com/Nike-Inc/Elevate/releases/tag/4.0.0)

Released on 2019-04-30. All issues associated with this milestone can be found using this
[filter](https://github.com/Nike-Inc/Elevate/milestone/10?closed=1).

#### Updated

- The project to support Swift 5 only and no longer support Swift 4.2.
- Updated by [Dmitri Fuerle](https://github.com/dfuerle) in Pull Request [#38](https://github.com/Nike-Inc/Elevate/pull/38).
- The deployment targerts to iOS 10.0, macOS 10.12, tvOS 10.0, and watchOS 3.0.
- Updated by [Dmitri Fuerle](https://github.com/dfuerle) in Pull Request [#38](https://github.com/Nike-Inc/Elevate/pull/38).

## [3.1.0](https://github.com/Nike-Inc/Elevate/releases/tag/3.1.0)

Released on 2019-04-30. All issues associated with this milestone can be found using this
Expand Down
12 changes: 6 additions & 6 deletions Elevate.podspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Pod::Spec.new do |s|
s.name = "Elevate"
s.version = "3.1.0"
s.version = "4.0.0"
s.summary = "Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable."
s.homepage = "https://github.com/Nike-Inc/Elevate"
s.license = "MIT"
s.authors = { "Eric Appel" => "[email protected]", "Christian Noon" => "[email protected]" }

s.source = { :git => "https://github.com/Nike-Inc/Elevate.git", :tag => s.version }
s.source_files = "Source/*.swift"
s.swift_versions = ["4.2", "5.0"]
s.swift_version = "5.0"

s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.11"
s.tvos.deployment_target = "9.0"
s.watchos.deployment_target = "2.0"
s.ios.deployment_target = "10.0"
s.osx.deployment_target = "10.12"
s.tvos.deployment_target = "10.0"
s.watchos.deployment_target = "3.0"
end
22 changes: 10 additions & 12 deletions Elevate.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
E99C82031B55E3380090FA56 /* DecodableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DecodableTests.swift; sourceTree = "<group>"; };
E99C82061B55E5B50090FA56 /* ParserTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ParserTests.swift; sourceTree = "<group>"; };
E9CDF95F1D7F833200639059 /* Elevate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Elevate.swift; sourceTree = "<group>"; };
F6D1E6A62278C7D000D4C674 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "[email protected]"; sourceTree = "<group>"; };
FC79DCD71DCD2EDC0081379C /* RootObjectTest.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = RootObjectTest.json; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -269,7 +268,6 @@
4CA7AB9F1F5604DD004CE3F3 /* Elevate.podspec */,
4CA7ABA01F5604DD004CE3F3 /* LICENSE */,
4CA7AB981F560466004CE3F3 /* Package.swift */,
F6D1E6A62278C7D000D4C674 /* [email protected] */,
);
name = Deployment;
sourceTree = "<group>";
Expand Down Expand Up @@ -998,18 +996,18 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 9.0;
TVOS_DEPLOYMENT_TARGET = 10.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1056,18 +1054,18 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MACOSX_DEPLOYMENT_TARGET = 10.12;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 9.0;
TVOS_DEPLOYMENT_TARGET = 10.0;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Release;
};
Expand Down
10 changes: 5 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import PackageDescription
let package = Package(
name: "Elevate",
platforms: [
.macOS(.v10_10),
.iOS(.v8),
.tvOS(.v9),
.watchOS(.v2)
.macOS(.v10_12),
.iOS(.v10),
.tvOS(.v10),
.watchOS(.v3)
],
products: [
.library(
Expand All @@ -43,5 +43,5 @@ let package = Package(
name: "Elevate",
path: "Source")
],
swiftLanguageVersions: [.v4_2, .v5]
swiftLanguageVersions: [.v5]
)
41 changes: 0 additions & 41 deletions [email protected]

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Elevate is a JSON parsing framework that leverages Swift to make parsing simple,

## Requirements

- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
- Xcode 9.3+
- Swift 4.2+
- iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
- Xcode 10.2+
- Swift 5.0+

## Communication

Expand Down
2 changes: 1 addition & 1 deletion Source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.1.0</string>
<string>4.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 3a43dd9

Please sign in to comment.