Skip to content

Commit e5808d2

Browse files
Swift 4.2 support
1 parent d8489fe commit e5808d2

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ os:
33
- osx
44

55
language: generic
6-
osx_image: xcode9
6+
osx_image: xcode10
77
sudo: required
88
dist: trusty
99

1010
env:
11-
- SWIFT_VERSION=4.1
11+
- SWIFT_VERSION=4.2
1212

1313
install:
1414
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"

Package.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
// swift-tools-version:4.0
1+
// swift-tools-version:4.2
22

33
import PackageDescription
44

55
let package = Package(
66
name: "AwsSns",
77
products: [.library(name: "AwsSns", targets: ["AwsSns"])],
8-
dependencies: [.package(url: "https://github.com/nikola-mladenovic/AwsSwiftSign.git", from: "0.1.0"),
9-
.package(url: "https://github.com/drmohundro/SWXMLHash.git", from: "4.1.1")],
8+
dependencies: [.package(url: "https://github.com/nikola-mladenovic/AwsSwiftSign.git", from: "0.2.0"),
9+
.package(url: "https://github.com/drmohundro/SWXMLHash.git", from: "4.7.1")],
1010
targets: [.target(name: "AwsSns", dependencies: ["AwsSign", "SWXMLHash"]),
11-
.testTarget(name: "AwsSnsTests", dependencies: ["AwsSns"])]
11+
.testTarget(name: "AwsSnsTests", dependencies: ["AwsSns"])],
12+
swiftLanguageVersions: [.v4_2]
1213
)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AwsSns is a Swift library that enables you to use Amazon Web Service Simple Noti
77
<img src="https://travis-ci.org/nikola-mladenovic/AwsSwiftSNSsdk.svg?branch=master">
88
</a>
99
<a href="https://developer.apple.com/swift/" target="_blank">
10-
<img src="https://img.shields.io/badge/Swift-4.1-orange.svg?style=flat" alt="Swift 4.1">
10+
<img src="https://img.shields.io/badge/Swift-4.2-orange.svg?style=flat" alt="Swift 4.2">
1111
</a>
1212
<a href="https://developer.apple.com/swift/" target="_blank">
1313
<img src="https://img.shields.io/badge/Platforms-iOS%20%7C%20macOS%20%7C%20watchOS%20%7C%20tvOS%20%7C%20Linux-4E4E4E.svg?colorA=EF5138" alt="Platforms iOS | macOS | watchOS | tvOS | Linux">
@@ -17,7 +17,7 @@ AwsSns is a Swift library that enables you to use Amazon Web Service Simple Noti
1717
</a>
1818
</p>
1919

20-
This package builds with Swift Package Manager. Ensure you have installed and activated the latest Swift 4.1 tool chain.
20+
This package builds with Swift Package Manager. Ensure you have installed and activated the latest Swift 4.2 tool chain.
2121

2222
## Quick Start
2323

0 commit comments

Comments
 (0)