Type Method

macOS(_:)

Configure the minimum deployment target version for the macOS platform using a version string.

Declaration

static func macOS(_ versionString: String) -> SupportedPlatform

Parameters

versionString

The minimum deployment target as a string representation of two or three dot-separated integers, such as “10.10.1”.

Discussion

The version string must be a series of two or three dot-separated integers, such as “10.10” or “10.10.1”.

See Also

Supporting macOS

static func macOS(SupportedPlatform.MacOSVersion) -> SupportedPlatform

Configure the minimum deployment target version for the macOS platform.

static var macOS: Platform

The macOS platform.

struct SupportedPlatform.MacOSVersion

The supported macOS version.