---
title: "init(lightweightCodeRequirements:)"
framework: xpc
role: symbol
role_heading: Initializer
path: "xpc/xpcpeerrequirement/init(lightweightcoderequirements:)"
---

# init(lightweightCodeRequirements:)

## Declaration

```swift
init(lightweightCodeRequirements dictionary: XPCDictionary)
```
