---
title: targets
framework: swift-package-manager
role: symbol
role_heading: Instance Property
path: swift-package-manager/documentation/packagedescription/product/executable/targets
---

# targets

The names of the targets in this product.

## Declaration

```swift
let targets: [String]
```
