---
title: "macOS(_:)"
framework: packagedescription
role: symbol
role_heading: Type Method
path: "packagedescription/supportedplatform/macos(_:)-2wthp"
---

# macOS(_:)

Configures the minimum deployment target version for the macOS platform.

## Declaration

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

## Parameters

- `version`: The minimum deployment target that the package supports.

## Discussion

Discussion note: First available in PackageDescription 5.0

## See Also

### Supporting macOS

- [macOS(_:)](packagedescription/supportedplatform/macos(_:)-9771f.md)
- [macOS](packagedescription/platform/macos.md)
- [SupportedPlatform.MacOSVersion](packagedescription/supportedplatform/macosversion.md)
