---
title: "custom(_:versionString:)"
framework: swift-package-manager
role: symbol
role_heading: Type Method
path: "swift-package-manager/documentation/packagedescription/supportedplatform/custom(_:versionstring:)"
---

# custom(_:versionString:)

Configures the minimum deployment target version for custom platforms.

## Declaration

```swift
static func custom(_ platformName: String, versionString: String) -> SupportedPlatform
```

## Parameters

- `platformName`: The name of the platform.
- `versionString`: The minimum deployment target as a string representation of two or three dot-separated integers, such as 19.0.1.

## Return Value

Return Value A SupportedPlatform instance.

## Discussion

Discussion note: First available in PackageDescription 5.6
