Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 1c277e0

Browse files
committed
Bump Swift version to 5.0
1 parent d1b79db commit 1c277e0

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.2
1+
5.0

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:4.2
1+
// swift-tools-version:5.0
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Swift Package Manager Compatible](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://swift.org/package-manager/)
66
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
77

8-
[![Swift 4.2](https://img.shields.io/badge/Swift-4.2-ffac45.svg)](https://swift.org)
8+
[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-ffac45.svg)](https://swift.org)
99
[![MIT License](https://img.shields.io/github/license/ApolloZhu/swift_qrcodejs.svg)](./LICENSE)
1010
[![Build Status](https://travis-ci.org/ApolloZhu/swift_qrcodejs.svg?branch=master)](https://travis-ci.org/ApolloZhu/swift_qrcodejs)
1111
[![Code Coverage](https://codecov.io/gh/ApolloZhu/swift_qrcodejs/branch/master/graphs/badge.svg)](https://codecov.io/gh/ApolloZhu/swift_qrcodejs/branch/master)

swift_qrcodejs.xcodeproj/project.pbxproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@
798798
SDKROOT = watchos;
799799
SKIP_INSTALL = YES;
800800
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
801-
SWIFT_VERSION = 4.2;
801+
SWIFT_VERSION = 5.0;
802802
TARGETED_DEVICE_FAMILY = 4;
803803
VERSIONING_SYSTEM = "apple-generic";
804804
VERSION_INFO_PREFIX = "";
@@ -865,7 +865,7 @@
865865
PRODUCT_NAME = swift_qrcodejs;
866866
SDKROOT = watchos;
867867
SKIP_INSTALL = YES;
868-
SWIFT_VERSION = 4.2;
868+
SWIFT_VERSION = 5.0;
869869
TARGETED_DEVICE_FAMILY = 4;
870870
VALIDATE_PRODUCT = YES;
871871
VERSIONING_SYSTEM = "apple-generic";
@@ -933,7 +933,7 @@
933933
SDKROOT = appletvos;
934934
SKIP_INSTALL = YES;
935935
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
936-
SWIFT_VERSION = 4.2;
936+
SWIFT_VERSION = 5.0;
937937
TARGETED_DEVICE_FAMILY = 3;
938938
TVOS_DEPLOYMENT_TARGET = 9.0;
939939
VERSIONING_SYSTEM = "apple-generic";
@@ -999,7 +999,7 @@
999999
PRODUCT_NAME = swift_qrcodejs;
10001000
SDKROOT = appletvos;
10011001
SKIP_INSTALL = YES;
1002-
SWIFT_VERSION = 4.2;
1002+
SWIFT_VERSION = 5.0;
10031003
TARGETED_DEVICE_FAMILY = 3;
10041004
TVOS_DEPLOYMENT_TARGET = 9.0;
10051005
VALIDATE_PRODUCT = YES;
@@ -1060,7 +1060,7 @@
10601060
PRODUCT_NAME = "$(TARGET_NAME)";
10611061
SDKROOT = appletvos;
10621062
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1063-
SWIFT_VERSION = 4.2;
1063+
SWIFT_VERSION = 5.0;
10641064
TARGETED_DEVICE_FAMILY = 3;
10651065
TVOS_DEPLOYMENT_TARGET = 12.0;
10661066
};
@@ -1117,7 +1117,7 @@
11171117
PRODUCT_BUNDLE_IDENTIFIER = "io.github.apollozhu.swift-qrcodejs-tvOSTests";
11181118
PRODUCT_NAME = "$(TARGET_NAME)";
11191119
SDKROOT = appletvos;
1120-
SWIFT_VERSION = 4.2;
1120+
SWIFT_VERSION = 5.0;
11211121
TARGETED_DEVICE_FAMILY = 3;
11221122
TVOS_DEPLOYMENT_TARGET = 12.0;
11231123
VALIDATE_PRODUCT = YES;
@@ -1430,7 +1430,7 @@
14301430
SDKROOT = iphoneos;
14311431
SKIP_INSTALL = YES;
14321432
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1433-
SWIFT_VERSION = 4.2;
1433+
SWIFT_VERSION = 5.0;
14341434
TARGETED_DEVICE_FAMILY = "1,2";
14351435
VERSIONING_SYSTEM = "apple-generic";
14361436
VERSION_INFO_PREFIX = "";
@@ -1496,7 +1496,7 @@
14961496
PRODUCT_NAME = swift_qrcodejs;
14971497
SDKROOT = iphoneos;
14981498
SKIP_INSTALL = YES;
1499-
SWIFT_VERSION = 4.2;
1499+
SWIFT_VERSION = 5.0;
15001500
TARGETED_DEVICE_FAMILY = "1,2";
15011501
VALIDATE_PRODUCT = YES;
15021502
VERSIONING_SYSTEM = "apple-generic";
@@ -1558,7 +1558,7 @@
15581558
PRODUCT_NAME = "$(TARGET_NAME)";
15591559
SDKROOT = iphoneos;
15601560
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1561-
SWIFT_VERSION = 4.2;
1561+
SWIFT_VERSION = 5.0;
15621562
TARGETED_DEVICE_FAMILY = "1,2";
15631563
};
15641564
name = Debug;
@@ -1616,7 +1616,7 @@
16161616
PRODUCT_BUNDLE_IDENTIFIER = "io.github.apollozhu.swift-qrcodejs-iOSTests";
16171617
PRODUCT_NAME = "$(TARGET_NAME)";
16181618
SDKROOT = iphoneos;
1619-
SWIFT_VERSION = 4.2;
1619+
SWIFT_VERSION = 5.0;
16201620
TARGETED_DEVICE_FAMILY = "1,2";
16211621
VALIDATE_PRODUCT = YES;
16221622
};
@@ -1674,7 +1674,7 @@
16741674
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
16751675
SWIFT_FORCE_DYNAMIC_LINK_STDLIB = YES;
16761676
SWIFT_FORCE_STATIC_LINK_STDLIB = NO;
1677-
SWIFT_VERSION = 4.2;
1677+
SWIFT_VERSION = 5.0;
16781678
};
16791679
name = Debug;
16801680
};
@@ -1729,7 +1729,7 @@
17291729
PRODUCT_NAME = "$(TARGET_NAME)";
17301730
SWIFT_FORCE_DYNAMIC_LINK_STDLIB = YES;
17311731
SWIFT_FORCE_STATIC_LINK_STDLIB = NO;
1732-
SWIFT_VERSION = 4.2;
1732+
SWIFT_VERSION = 5.0;
17331733
};
17341734
name = Release;
17351735
};

0 commit comments

Comments
 (0)