---
title: ProcessConstraint
framework: lightweightcoderequirements
role: symbol
role_heading: Protocol
path: lightweightcoderequirements/processconstraint
---

# ProcessConstraint

A protocol to which a lightweight code requirement constraint conforms if you can use it in process code requirements.

## Declaration

```swift
protocol ProcessConstraint : Decodable, Encodable, Sendable
```

## Relationships

### Inherits From

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Conforming Types

- [CodeDirectoryHash](lightweightcoderequirements/codedirectoryhash.md)
- [EntitlementsQuery](lightweightcoderequirements/entitlementsquery.md)
- [InfoPlistHash](lightweightcoderequirements/infoplisthash.md)
- [IsInitProcess](lightweightcoderequirements/isinitprocess.md)
- [IsSIPProtected](lightweightcoderequirements/issipprotected.md)
- [PlatformType](lightweightcoderequirements/platformtype.md)
- [ProcessCodeSigningFlags](lightweightcoderequirements/processcodesigningflags.md)
- [SigningIdentifier](lightweightcoderequirements/signingidentifier.md)
- [TeamIdentifier](lightweightcoderequirements/teamidentifier.md)
- [TeamIdentifierMatchesCurrentProcess](lightweightcoderequirements/teamidentifiermatchescurrentprocess.md)
- [ValidationCategory](lightweightcoderequirements/validationcategory.md)

## See Also

### Checking code requirements for running processes

- [SecTaskValidateForRequirement(task:requirement:)](lightweightcoderequirements/sectaskvalidateforrequirement(task:requirement:).md)
- [ProcessCodeRequirement](lightweightcoderequirements/processcoderequirement.md)
- [allOf(requirement:)](lightweightcoderequirements/allof(requirement:)-4k3ay.md)
- [anyOf(requirement:)](lightweightcoderequirements/anyof(requirement:)-vwhn.md)
- [ProcessCodeSigningFlags](lightweightcoderequirements/processcodesigningflags.md)
- [ProcessConstraintBuilder](lightweightcoderequirements/processconstraintbuilder.md)
- [TeamIdentifierMatchesCurrentProcess](lightweightcoderequirements/teamidentifiermatchescurrentprocess.md)
