Skip to content

Commit 8fe2d8b

Browse files
committed
Add new OS versions to SupportedPlatforms
1 parent d1a9dc3 commit 8fe2d8b

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

Sources/PackageDescription/SupportedPlatforms.swift

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,12 @@ extension SupportedPlatform {
382382
/// - Since: First available in PackageDescription 6.0.
383383
@available(_PackageDescription, introduced: 6.0)
384384
public static let v15: MacOSVersion = .init(string: "15.0")
385+
386+
/// The value that represents macOS 16.0.
387+
///
388+
/// - Since: First available in PackageDescription 6.2.
389+
@available(_PackageDescription, introduced: 6.2)
390+
public static let v16: MacOSVersion = .init(string: "16.0")
385391
}
386392

387393
/// The supported tvOS version.
@@ -455,6 +461,12 @@ extension SupportedPlatform {
455461
/// - Since: First available in PackageDescription 6.0.
456462
@available(_PackageDescription, introduced: 6.0)
457463
public static let v18: TVOSVersion = .init(string: "18.0")
464+
465+
/// The value that represents tvOS 19.0.
466+
///
467+
/// - Since: First available in PackageDescription 6.2.
468+
@available(_PackageDescription, introduced: 6.2)
469+
public static let v19: TVOSVersion = .init(string: "19.0")
458470
}
459471

460472
/// The supported Mac Catalyst version.
@@ -504,6 +516,12 @@ extension SupportedPlatform {
504516
/// - Since: First available in PackageDescription 6.0.
505517
@available(_PackageDescription, introduced: 6.0)
506518
public static let v18: MacCatalystVersion = .init(string: "18.0")
519+
520+
/// The value that represents Mac Catalyst 19.0.
521+
///
522+
/// - Since: First available in PackageDescription 6.2.
523+
@available(_PackageDescription, introduced: 6.2)
524+
public static let v19: MacCatalystVersion = .init(string: "19.0")
507525
}
508526

509527
/// The supported iOS version.
@@ -583,6 +601,14 @@ extension SupportedPlatform {
583601
/// - Since: First available in PackageDescription 6.0.
584602
@available(_PackageDescription, introduced: 6.0)
585603
public static let v18: IOSVersion = .init(string: "18.0")
604+
605+
606+
/// The value that represents iOS 19.0.
607+
///
608+
/// - Since: First available in PackageDescription 6.2.
609+
@available(_PackageDescription, introduced: 6.2)
610+
public static let v19: IOSVersion = .init(string: "19.0")
611+
586612
}
587613

588614
/// The supported watchOS version.
@@ -656,6 +682,12 @@ extension SupportedPlatform {
656682
/// - Since: First available in PackageDescription 6.0.
657683
@available(_PackageDescription, introduced: 6.0)
658684
public static let v11: WatchOSVersion = .init(string: "11.0")
685+
686+
/// The value that represents watchOS 12.0.
687+
///
688+
/// - Since: First available in PackageDescription 6.2.
689+
@available(_PackageDescription, introduced: 6.2)
690+
public static let v12: WatchOSVersion = .init(string: "12.0")
659691
}
660692

661693
/// The supported visionOS version.
@@ -681,6 +713,12 @@ extension SupportedPlatform {
681713
/// - Since: First available in PackageDescription 6.0.
682714
@available(_PackageDescription, introduced: 6.0)
683715
public static let v2: VisionOSVersion = .init(string: "2.0")
716+
717+
/// The value that represents visionOS 3.0.
718+
///
719+
/// - Since: First available in PackageDescription 6.2.
720+
@available(_PackageDescription, introduced: 6.2)
721+
public static let v3: VisionOSVersion = .init(string: "3.0")
684722
}
685723

686724
/// The supported DriverKit version.
@@ -730,6 +768,12 @@ extension SupportedPlatform {
730768
/// - Since: First available in PackageDescription 6.0.
731769
@available(_PackageDescription, introduced: 6.0)
732770
public static let v24: DriverKitVersion = .init(string: "24.0")
771+
772+
/// The value that represents DriverKit 25.0.
773+
///
774+
/// - Since: First available in PackageDescription 6.2.
775+
@available(_PackageDescription, introduced: 6.2)
776+
public static let v25: DriverKitVersion = .init(string: "25.0")
733777
}
734778

735779
/// A supported custom platform version.

0 commit comments

Comments
 (0)