Skip to content

Commit

Permalink
Change iOS deployment target version
Browse files Browse the repository at this point in the history
  • Loading branch information
Econa77 committed Jan 1, 2022
1 parent 380cbde commit d38b961
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
// swift-tools-version:5.0
import PackageDescription

var platforms: [SupportedPlatform] {
#if compiler(<5.3)
return [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
]
#else
// Xcode 12 (which ships with Swift 5.3) drops support for iOS 8
return [
.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
]
#endif
}

let package = Package(
name: "APIKit",
platforms: platforms,
platforms: [
.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)
],
products: [
.library(name: "APIKit", targets: ["APIKit"]),
],
Expand Down

0 comments on commit d38b961

Please sign in to comment.