MacOSVersion
The supported macOS version.
SupportedPlatforms.swift:298struct MacOSVersion
See also
static func macOS(SupportedPlatform.MacOSVersion
) -> SupportedPlatform Configures the minimum deployment target version for the macOS platform.
static func macOS(String
) -> SupportedPlatform Configures the minimum deployment target version for the macOS platform using a version string.
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (20) members.
Types
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.
Type members
static func custom(String, versionString: String
) -> SupportedPlatform Configures the minimum deployment target version for custom platforms.
static func driverKit(SupportedPlatform.DriverKitVersion
) -> SupportedPlatform Configures the minimum deployment target version for the DriverKit platform.
static func driverKit(String
) -> SupportedPlatform Configures the minimum deployment target version for the DriverKit platform using a custom version string.
static func iOS(SupportedPlatform.IOSVersion
) -> SupportedPlatform Configures the minimum deployment target version for the iOS platform.
static func iOS(String
) -> SupportedPlatform Configures the minimum deployment target version for the iOS platform using a custom version string.
static func macCatalyst(SupportedPlatform.MacCatalystVersion
) -> SupportedPlatform Configures the minimum deployment target version for the Mac Catalyst platform.
static func macCatalyst(String
) -> SupportedPlatform Configures the minimum deployment target version for the Mac Catalyst platform using a version string.
static func tvOS(SupportedPlatform.TVOSVersion
) -> SupportedPlatform Configures the minimum deployment target version for the tvOS platform.
static func tvOS(String
) -> SupportedPlatform Configures the minimum deployment target version for the tvOS platform using a custom version string.
static func visionOS(SupportedPlatform.VisionOSVersion
) -> SupportedPlatform Configure the minimum deployment target version for the visionOS platform.
static func visionOS(String
) -> SupportedPlatform Configure the minimum deployment target version for the visionOS platform using a custom version string.
static func watchOS(SupportedPlatform.WatchOSVersion
) -> SupportedPlatform Configure the minimum deployment target version for the watchOS platform.
static func watchOS(String
) -> SupportedPlatform Configure the minimum deployment target version for the watchOS platform using a custom version string.
Citizens in PackageDescription
Type members
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.
Show obsolete interfaces (3)
Hide obsolete interfaces
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.