Swift Setup
Fory Swift is distributed through Swift Package Manager from the Apache Fory repository. The current package uses Swift tools 6.0 and targets macOS 13 or later and iOS 16 or later. Pin one Fory release across every peer in an application.
Verify the Toolchain
swift --version
Choose a Capability
| Capability | Package product or tool | Continue with |
|---|---|---|
| Object Serialization | Swift package product Fory | Swift object serialization and xlang |
| Schema and generated models | fory-compiler | Fory IDL and Compiler |
The selected capability guide owns its exact package declaration and first runnable example.