---
title: "watchOS(_:)"
framework: packagedescription
role: symbol
role_heading: Type Method
path: "packagedescription/supportedplatform/watchos(_:)-t998"
---

# watchOS(_:)

Configure the minimum deployment target version for the watchOS platform.

## Declaration

```swift
static func watchOS(_ version: SupportedPlatform.WatchOSVersion) -> SupportedPlatform
```

## Parameters

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

## Return Value

Return Value A SupportedPlatform instance.

## Discussion

Discussion note: First available in PackageDescription 5.0

## See Also

### Supporting watchOS

- [watchOS(_:)](packagedescription/supportedplatform/watchos(_:)-4lrx0.md)
- [watchOS](packagedescription/platform/watchos.md)
- [SupportedPlatform.WatchOSVersion](packagedescription/supportedplatform/watchosversion.md)
