---
title: "write(to:options:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/entity/configurationcatalog/write(to:options:)"
---

# write(to:options:)

Writes the configurations of the configuration catalog to a reality file.

## Declaration

```swift
nonisolated(nonsending) func write(to url: URL, options: Entity.WriteOptions) async throws
```

## Parameters

- `url`: The destination where the configuration catalog writes the .reality file.
- `options`: Options for writing the .reality file.

## Discussion

Discussion Another configuration catalog instance can open the .reality file for reading.
