<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "PackageDescription",
  "identifier" : "/documentation/PackageDescription/Target/publicHeadersPath",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PackageDescription"
    ],
    "preciseIdentifier" : "s:18PackageDescription6TargetC17publicHeadersPathSSSgvp"
  },
  "title" : "publicHeadersPath"
}
-->

# publicHeadersPath

The path to the directory that contains public headers of a C-family target.

```
final var publicHeadersPath: String?
```

## Discussion

If this is `nil`, the directory is set to `include`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)