---
title: "tvOS(_:)"
framework: packagedescription
role: symbol
role_heading: Type Method
path: "packagedescription/supportedplatform/tvos(_:)-3k8sy"
---

# tvOS(_:)

Configures the minimum deployment target version for the tvOS platform using a custom version string.

## Declaration

```swift
static func tvOS(_ versionString: String) -> SupportedPlatform
```

## Parameters

- `versionString`: The minimum deployment target as a string representation of two or three dot-separated integers, such as 9.0.1.

## Return Value

Return Value A SupportedPlatform instance.

## Discussion

Discussion The version string must be a series of two or three dot-separated integers,such as 9.0 or 9.0.1. note: First available in PackageDescription 5.0

## See Also

### Supporting tvOS

- [tvOS(_:)](packagedescription/supportedplatform/tvos(_:)-6931l.md)
- [tvOS](packagedescription/platform/tvos.md)
- [SupportedPlatform.TVOSVersion](packagedescription/supportedplatform/tvosversion.md)
