Skip to content

Commit 8a7eb6d

Browse files
committed
Remove iOS 13 deployment target
swift-tsc can build just fine with an iOS 9 deployment target, so let it continue defaulting to that. Add the required availability annotations in the unit tests to let the build succeed against the subset of APIs that do require iOS 13.
1 parent 179103b commit 8a7eb6d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Package.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ let package = Package(
2525
name: "swift-tools-support-core",
2626
platforms: [
2727
macOSPlatform,
28-
.iOS(.v13)
2928
],
3029
products: [
3130
.library(

Tests/TSCUtilityTests/NetrcTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import XCTest
22
import TSCUtility
33

4-
@available(macOS 10.13, *)
4+
@available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)
55
/// Netrc feature depends upon `NSTextCheckingResult.range(withName name: String) -> NSRange`,
66
/// which is only available in macOS 10.13+ at this time.
77
class NetrcTests: XCTestCase {

0 commit comments

Comments
 (0)