Skip to content

Commit c018d0f

Browse files
committed
Update minimum OS versions (deployment targets) to support Swift concurrency
- Increased the minimum required versions for iOS, tvOS, and watchOS to ensure compatibility with Swift concurrency features. - Ensures that the framewokr takes full advantage of modern concurrency capabilities. - See: https://www.hackingwithswift.com/quick-start/concurrency/where-is-swift-concurrency-supported
1 parent cdfe36c commit c018d0f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

OAuth2.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@
953953
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
954954
GCC_WARN_UNUSED_FUNCTION = YES;
955955
GCC_WARN_UNUSED_VARIABLE = YES;
956-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
956+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
957957
MACOSX_DEPLOYMENT_TARGET = 10.15;
958958
MARKETING_VERSION = 5.3.5;
959959
METAL_ENABLE_DEBUG_INFO = YES;
@@ -962,7 +962,7 @@
962962
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
963963
SWIFT_VERSION = 5.0;
964964
TARGETED_DEVICE_FAMILY = "1,2";
965-
TVOS_DEPLOYMENT_TARGET = 12.0;
965+
TVOS_DEPLOYMENT_TARGET = 13.0;
966966
VERSIONING_SYSTEM = "apple-generic";
967967
VERSION_INFO_PREFIX = "";
968968
};
@@ -1010,14 +1010,14 @@
10101010
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
10111011
GCC_WARN_UNUSED_FUNCTION = YES;
10121012
GCC_WARN_UNUSED_VARIABLE = YES;
1013-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1013+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
10141014
MACOSX_DEPLOYMENT_TARGET = 10.15;
10151015
MARKETING_VERSION = 5.3.5;
10161016
METAL_ENABLE_DEBUG_INFO = NO;
10171017
SDKROOT = iphoneos;
10181018
SWIFT_VERSION = 5.0;
10191019
TARGETED_DEVICE_FAMILY = "1,2";
1020-
TVOS_DEPLOYMENT_TARGET = 12.0;
1020+
TVOS_DEPLOYMENT_TARGET = 13.0;
10211021
VALIDATE_PRODUCT = YES;
10221022
VERSIONING_SYSTEM = "apple-generic";
10231023
VERSION_INFO_PREFIX = "";

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import PackageDescription
2424
let package = Package(
2525
name: "OAuth2",
2626
platforms: [
27-
.macOS(.v10_15), .iOS(.v12), .tvOS(.v12), .watchOS(.v5)
27+
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)
2828
],
2929
products: [
3030
.library(name: "OAuth2", targets: ["OAuth2"]),

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ OAuth2 frameworks for **macOS**, **iOS** and **tvOS** written in Swift 5.
1111
- [🖥 Sample macOS app][sample] (with data loader examples)
1212
- [📖 Technical Documentation](https://p2.github.io/OAuth2)
1313

14-
OAuth2 requires Xcode 12.4, the built framework can be used on **OS X 10.15** or **iOS 12** and later.
14+
OAuth2 requires Xcode 12.4, the built framework can be used on **OS X 10.15**, **iOS 13**, **tvOS** 13, **watchOS 6** and later.
1515
Happy to accept pull requests, please see [CONTRIBUTING.md](./Docs/CONTRIBUTING.md)
1616

1717
### Swift Version

0 commit comments

Comments
 (0)