Skip to content

Commit 3a43dd9

Browse files
authored
Dropped Swift 4.2 Support, updated deployment targets (#38)
* Dropped Swift 4.2 Support, updated deployment targets
1 parent 4fd4299 commit 3a43dd9

8 files changed

+44
-72
lines changed

.travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ env:
1717
- DESTINATION="OS=12.2,name=iPhone XS" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="YES"
1818
- DESTINATION="OS=11.4,name=iPhone X" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
1919
- DESTINATION="OS=10.3.1,name=iPhone 7" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
20-
- DESTINATION="OS=9.3,name=iPhone 5S" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
21-
- DESTINATION="OS=8.4,name=iPhone 5" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" POD_LINT="NO"
2220
- DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
23-
- DESTINATION="OS=12.0,name=Apple TV 4K" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
24-
- DESTINATION="OS=5.0,name=Apple Watch Series 4 - 44mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" POD_LINT="NO"
21+
- DESTINATION="OS=12.2,name=Apple TV 4K" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" POD_LINT="NO"
22+
- DESTINATION="OS=5.2,name=Apple Watch Series 4 - 44mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" POD_LINT="NO"
2523

2624
before_install:
2725
- gem update bundler

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
All notable changes to this project will be documented in this file.
44
`Elevate` adheres to [Semantic Versioning](http://semver.org/).
55

6+
#### 4.x Releases
7+
8+
* `4.0.x` Releases = [4.0.0](#400)
9+
610
#### 3.x Releases
711

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

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

2126
---
2227

28+
## [4.0.0](https://github.com/Nike-Inc/Elevate/releases/tag/4.0.0)
29+
30+
Released on 2019-04-30. All issues associated with this milestone can be found using this
31+
[filter](https://github.com/Nike-Inc/Elevate/milestone/10?closed=1).
32+
33+
#### Updated
34+
35+
- The project to support Swift 5 only and no longer support Swift 4.2.
36+
- Updated by [Dmitri Fuerle](https://github.com/dfuerle) in Pull Request [#38](https://github.com/Nike-Inc/Elevate/pull/38).
37+
- The deployment targerts to iOS 10.0, macOS 10.12, tvOS 10.0, and watchOS 3.0.
38+
- Updated by [Dmitri Fuerle](https://github.com/dfuerle) in Pull Request [#38](https://github.com/Nike-Inc/Elevate/pull/38).
39+
2340
## [3.1.0](https://github.com/Nike-Inc/Elevate/releases/tag/3.1.0)
2441

2542
Released on 2019-04-30. All issues associated with this milestone can be found using this

Elevate.podspec

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Pod::Spec.new do |s|
22
s.name = "Elevate"
3-
s.version = "3.1.0"
3+
s.version = "4.0.0"
44
s.summary = "Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable."
55
s.homepage = "https://github.com/Nike-Inc/Elevate"
66
s.license = "MIT"
77
s.authors = { "Eric Appel" => "[email protected]", "Christian Noon" => "[email protected]" }
88

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

13-
s.ios.deployment_target = "8.0"
14-
s.osx.deployment_target = "10.11"
15-
s.tvos.deployment_target = "9.0"
16-
s.watchos.deployment_target = "2.0"
13+
s.ios.deployment_target = "10.0"
14+
s.osx.deployment_target = "10.12"
15+
s.tvos.deployment_target = "10.0"
16+
s.watchos.deployment_target = "3.0"
1717
end

Elevate.xcodeproj/project.pbxproj

+10-12
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@
166166
E99C82031B55E3380090FA56 /* DecodableTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DecodableTests.swift; sourceTree = "<group>"; };
167167
E99C82061B55E5B50090FA56 /* ParserTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ParserTests.swift; sourceTree = "<group>"; };
168168
E9CDF95F1D7F833200639059 /* Elevate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Elevate.swift; sourceTree = "<group>"; };
169-
F6D1E6A62278C7D000D4C674 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "[email protected]"; sourceTree = "<group>"; };
170169
FC79DCD71DCD2EDC0081379C /* RootObjectTest.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = RootObjectTest.json; sourceTree = "<group>"; };
171170
/* End PBXFileReference section */
172171

@@ -269,7 +268,6 @@
269268
4CA7AB9F1F5604DD004CE3F3 /* Elevate.podspec */,
270269
4CA7ABA01F5604DD004CE3F3 /* LICENSE */,
271270
4CA7AB981F560466004CE3F3 /* Package.swift */,
272-
F6D1E6A62278C7D000D4C674 /* [email protected] */,
273271
);
274272
name = Deployment;
275273
sourceTree = "<group>";
@@ -998,18 +996,18 @@
998996
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
999997
GCC_WARN_UNUSED_FUNCTION = YES;
1000998
GCC_WARN_UNUSED_VARIABLE = YES;
1001-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1002-
MACOSX_DEPLOYMENT_TARGET = 10.10;
999+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1000+
MACOSX_DEPLOYMENT_TARGET = 10.12;
10031001
MTL_ENABLE_DEBUG_INFO = YES;
10041002
ONLY_ACTIVE_ARCH = YES;
10051003
SDKROOT = iphoneos;
10061004
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1007-
SWIFT_VERSION = 4.2;
1005+
SWIFT_VERSION = 5.0;
10081006
TARGETED_DEVICE_FAMILY = "1,2";
1009-
TVOS_DEPLOYMENT_TARGET = 9.0;
1007+
TVOS_DEPLOYMENT_TARGET = 10.0;
10101008
VERSIONING_SYSTEM = "apple-generic";
10111009
VERSION_INFO_PREFIX = "";
1012-
WATCHOS_DEPLOYMENT_TARGET = 2.0;
1010+
WATCHOS_DEPLOYMENT_TARGET = 3.0;
10131011
};
10141012
name = Debug;
10151013
};
@@ -1056,18 +1054,18 @@
10561054
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
10571055
GCC_WARN_UNUSED_FUNCTION = YES;
10581056
GCC_WARN_UNUSED_VARIABLE = YES;
1059-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
1060-
MACOSX_DEPLOYMENT_TARGET = 10.10;
1057+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1058+
MACOSX_DEPLOYMENT_TARGET = 10.12;
10611059
MTL_ENABLE_DEBUG_INFO = NO;
10621060
SDKROOT = iphoneos;
10631061
SWIFT_COMPILATION_MODE = wholemodule;
1064-
SWIFT_VERSION = 4.2;
1062+
SWIFT_VERSION = 5.0;
10651063
TARGETED_DEVICE_FAMILY = "1,2";
1066-
TVOS_DEPLOYMENT_TARGET = 9.0;
1064+
TVOS_DEPLOYMENT_TARGET = 10.0;
10671065
VALIDATE_PRODUCT = YES;
10681066
VERSIONING_SYSTEM = "apple-generic";
10691067
VERSION_INFO_PREFIX = "";
1070-
WATCHOS_DEPLOYMENT_TARGET = 2.0;
1068+
WATCHOS_DEPLOYMENT_TARGET = 3.0;
10711069
};
10721070
name = Release;
10731071
};

Package.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ import PackageDescription
2828
let package = Package(
2929
name: "Elevate",
3030
platforms: [
31-
.macOS(.v10_10),
32-
.iOS(.v8),
33-
.tvOS(.v9),
34-
.watchOS(.v2)
31+
.macOS(.v10_12),
32+
.iOS(.v10),
33+
.tvOS(.v10),
34+
.watchOS(.v3)
3535
],
3636
products: [
3737
.library(
@@ -43,5 +43,5 @@ let package = Package(
4343
name: "Elevate",
4444
path: "Source")
4545
],
46-
swiftLanguageVersions: [.v4_2, .v5]
46+
swiftLanguageVersions: [.v5]
4747
)

[email protected]

-41
This file was deleted.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Elevate is a JSON parsing framework that leverages Swift to make parsing simple,
2222

2323
## Requirements
2424

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

2929
## Communication
3030

Source/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.1.0</string>
18+
<string>4.0.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)