---
title: XPCPeerRequirement
framework: xpc
role: symbol
role_heading: Structure
path: xpc/xpcpeerrequirement
---

# XPCPeerRequirement

## Declaration

```swift
struct XPCPeerRequirement
```

## Topics

### Initializers

- [init(lightweightCodeRequirements:)](xpc/xpcpeerrequirement/init(lightweightcoderequirements:).md)

### Type Methods

- [codeRequirement(_:)](xpc/xpcpeerrequirement/coderequirement(_:).md)
- [entitlement(_:matches:)](xpc/xpcpeerrequirement/entitlement(_:matches:)-2bray.md)
- [entitlement(_:matches:)](xpc/xpcpeerrequirement/entitlement(_:matches:)-2ubq1.md)
- [entitlement(_:matches:)](xpc/xpcpeerrequirement/entitlement(_:matches:)-6h77e.md)
- [hasEntitlement(_:)](xpc/xpcpeerrequirement/hasentitlement(_:).md)
- [isFromSameTeam(andMatchesSigningIdentifier:)](xpc/xpcpeerrequirement/isfromsameteam(andmatchessigningidentifier:).md)
- [isPlatformCode(andMatchesSigningIdentifier:)](xpc/xpcpeerrequirement/isplatformcode(andmatchessigningidentifier:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
