MacOSVersion
The supported macOS version.
struct MacOSVersion
The supported macOS version.
struct MacOSVersion
s18PackageDescription17SupportedPlatformV12MacOSVersionV
What are these?90E5Q
import PackageDescription
Create reusable code, organize it in a lightweight way, and share it across your projects and with other developers.
struct SupportedPlatform
A platform that the Swift package supports.
static func macOS(_ version: SupportedPlatform.MacOSVersion) -> SupportedPlatform
Configures the minimum deployment target version for the macOS platform.
static func macOS(_ versionString: String) -> SupportedPlatform
Configures the minimum deployment target version for the macOS platform using a version string.
static func custom(_ platformName: String, versionString: String) -> SupportedPlatform
Configures the minimum deployment target version for custom platforms.
static func driverKit(_ version: SupportedPlatform.DriverKitVersion) -> SupportedPlatform
Configures the minimum deployment target version for the DriverKit platform.
static func driverKit(_ versionString: String) -> SupportedPlatform
Configures the minimum deployment target version for the DriverKit platform using a custom version string.
static func iOS(_ version: SupportedPlatform.IOSVersion) -> SupportedPlatform
Configures the minimum deployment target version for the iOS platform.
static func iOS(_ versionString: String) -> SupportedPlatform
Configures the minimum deployment target version for the iOS platform using a custom version string.
static func macCatalyst(_ version: SupportedPlatform.MacCatalystVersion) -> SupportedPlatform
Configures the minimum deployment target version for the Mac Catalyst platform.
static func macCatalyst(_ versionString: String) -> SupportedPlatform
Configures the minimum deployment target version for the Mac Catalyst platform using a version string.
static func tvOS(_ version: SupportedPlatform.TVOSVersion) -> SupportedPlatform
Configures the minimum deployment target version for the tvOS platform.
static func tvOS(_ versionString: String) -> SupportedPlatform
Configures the minimum deployment target version for the tvOS platform using a custom version string.
static func visionOS(_ version: SupportedPlatform.VisionOSVersion) -> SupportedPlatform
Configure the minimum deployment target version for the visionOS platform.
static func visionOS(_ versionString: String) -> SupportedPlatform
Configure the minimum deployment target version for the visionOS platform using a custom version string.
static func watchOS(_ version: SupportedPlatform.WatchOSVersion) -> SupportedPlatform
Configure the minimum deployment target version for the watchOS platform.
static func watchOS(_ versionString: String) -> SupportedPlatform
Configure the minimum deployment target version for the watchOS platform using a custom version string.
struct CustomPlatformVersion
A supported custom platform version.
struct DriverKitVersion
The supported DriverKit version.
struct IOSVersion
The supported iOS version.
struct MacCatalystVersion
The supported Mac Catalyst version.
struct TVOSVersion
The supported tvOS version.
struct VisionOSVersion
The supported visionOS version.
struct WatchOSVersion
The supported watchOS version.
protocol Sendable
A thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
static let v10_13: SupportedPlatform.MacOSVersion
The value that represents macOS 10.13.
static let v10_14: SupportedPlatform.MacOSVersion
The value that represents macOS 10.14.
static let v10_15: SupportedPlatform.MacOSVersion
The value that represents macOS 10.15.
static let v11: SupportedPlatform.MacOSVersion
The value that represents macOS 11.0.
static let v12: SupportedPlatform.MacOSVersion
The value that represents macOS 12.0.
static let v13: SupportedPlatform.MacOSVersion
The value that represents macOS 13.0.
static let v14: SupportedPlatform.MacOSVersion
The value that represents macOS 14.0.
static let v15: SupportedPlatform.MacOSVersion
The value that represents macOS 15.0.
static let v10_10: SupportedPlatform.MacOSVersion
The value that represents macOS 10.10.
static let v10_11: SupportedPlatform.MacOSVersion
The value that represents macOS 10.11.
static let v10_12: SupportedPlatform.MacOSVersion
The value that represents macOS 10.12.