Skip to content

[6.0] Add 2024 Darwin OS versions to SupportedPlatforms #7972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions Sources/PackageDescription/SupportedPlatforms.swift
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,12 @@ extension SupportedPlatform {
/// - Since: First available in PackageDescription 5.9.
@available(_PackageDescription, introduced: 5.9)
public static let v14: MacOSVersion = .init(string: "14.0")

/// The value that represents macOS 15.0.
///
/// - Since: First available in PackageDescription 6.0.
@available(_PackageDescription, introduced: 6.0)
public static let v15: MacOSVersion = .init(string: "15.0")
}

/// The supported tvOS version.
Expand Down Expand Up @@ -439,6 +445,12 @@ extension SupportedPlatform {
/// - Since: First available in PackageDescription 5.9.
@available(_PackageDescription, introduced: 5.9)
public static let v17: TVOSVersion = .init(string: "17.0")

/// The value that represents tvOS 18.0.
///
/// - Since: First available in PackageDescription 6.0.
@available(_PackageDescription, introduced: 6.0)
public static let v18: TVOSVersion = .init(string: "18.0")
}

/// The supported Mac Catalyst version.
Expand Down Expand Up @@ -482,6 +494,12 @@ extension SupportedPlatform {
/// - Since: First available in PackageDescription 5.9.
@available(_PackageDescription, introduced: 5.9)
public static let v17: MacCatalystVersion = .init(string: "17.0")

/// The value that represents Mac Catalyst 18.0.
///
/// - Since: First available in PackageDescription 6.0.
@available(_PackageDescription, introduced: 6.0)
public static let v18: MacCatalystVersion = .init(string: "18.0")
}

/// The supported iOS version.
Expand Down Expand Up @@ -555,6 +573,12 @@ extension SupportedPlatform {
/// - Since: First available in PackageDescription 5.9.
@available(_PackageDescription, introduced: 5.9)
public static let v17: IOSVersion = .init(string: "17.0")

/// The value that represents iOS 18.0.
///
/// - Since: First available in PackageDescription 6.0.
@available(_PackageDescription, introduced: 6.0)
public static let v18: IOSVersion = .init(string: "18.0")
}

/// The supported watchOS version.
Expand Down Expand Up @@ -622,6 +646,12 @@ extension SupportedPlatform {
/// - Since: First available in PackageDescription 5.9.
@available(_PackageDescription, introduced: 5.9)
public static let v10: WatchOSVersion = .init(string: "10.0")

/// The value that represents watchOS 11.0.
///
/// - Since: First available in PackageDescription 6.0.
@available(_PackageDescription, introduced: 6.0)
public static let v11: WatchOSVersion = .init(string: "11.0")
}

/// The supported visionOS version.
Expand All @@ -641,6 +671,12 @@ extension SupportedPlatform {
/// - Since: First available in PackageDescription 5.9.
@available(_PackageDescription, introduced: 5.9)
public static let v1: VisionOSVersion = .init(string: "1.0")

/// The value that represents visionOS 2.0.
///
/// - Since: First available in PackageDescription 6.0.
@available(_PackageDescription, introduced: 6.0)
public static let v2: VisionOSVersion = .init(string: "2.0")
}

/// The supported DriverKit version.
Expand Down Expand Up @@ -684,6 +720,12 @@ extension SupportedPlatform {
/// - Since: First available in PackageDescription 5.9.
@available(_PackageDescription, introduced: 5.9)
public static let v23: DriverKitVersion = .init(string: "23.0")

/// The value that represents DriverKit 24.0.
///
/// - Since: First available in PackageDescription 6.0.
@available(_PackageDescription, introduced: 6.0)
public static let v24: DriverKitVersion = .init(string: "24.0")
}

/// A supported custom platform version.
Expand Down