---
title: exclude
framework: packagedescription
role: symbol
role_heading: Instance Property
path: packagedescription/target/exclude
---

# exclude

The paths to source and resource files that you don’t want to include in the target.

## Declaration

```swift
final var exclude: [String]
```

## Discussion

Discussion Excluded paths are relative to the target path. This property has precedence over the sources and resources properties.

## See Also

### Configuring File Locations

- [path](packagedescription/target/path.md)
- [sources](packagedescription/target/sources.md)
- [resources](packagedescription/target/resources.md)
- [Resource](packagedescription/resource.md)
- [publicHeadersPath](packagedescription/target/publicheaderspath.md)
