<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/SupportedPlatform/macOS(_:)-2wthp",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription17SupportedPlatformV5macOSyA2C12MacOSVersionVFZ"
  },
  "title" : "macOS(_:)"
}
-->

# macOS(_:)

Configures the minimum deployment target version for the macOS platform.

```
static func macOS(_ version: SupportedPlatform.MacOSVersion) -> SupportedPlatform
```

## Parameters

`version`

The minimum deployment target that the package supports.

## Discussion> Since: First available in PackageDescription 5.0

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)