IOSVersion
The supported iOS version.
struct IOSVersion
The supported iOS version.
struct IOSVersion
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 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 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 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 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 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 MacCatalystVersion
The supported Mac Catalyst version.
struct MacOSVersion
The supported macOS version.
struct TVOSVersion
The supported tvOS version.
struct VisionOSVersion
The supported visionOS version.
struct WatchOSVersion
The supported watchOS version.
protocol Sendable
static let v11: IOSVersion
The value that represents iOS 11.0.
static let v12: IOSVersion
The value that represents iOS 12.0.
static let v13: IOSVersion
The value that represents iOS 13.0.
static let v14: IOSVersion
The value that represents iOS 14.0.
static let v15: IOSVersion
The value that represents iOS 15.0.
static let v16: IOSVersion
The value that represents iOS 16.0.
static let v17: IOSVersion
The value that represents iOS 17.0.
static let v18: IOSVersion
The value that represents iOS 18.0.
static let v10: IOSVersion
The value that represents iOS 10.0.
static let v8: IOSVersion
The value that represents iOS 8.0.
static let v9: IOSVersion
The value that represents iOS 9.0.