Installation
FreezeRay consists of two components: the CLI tool and the Swift package. The CLI’sinit command handles adding the package for you.
Install CLI Tool
Install via npm:Alternative: Build from Source
For Intel Macs or if you prefer to build from source:Homebrew (Coming Soon)
Initialize Your Project
Runinit in your Xcode project directory:
- Add FreezeRay package dependency to your
Package.swift - Create the
FreezeRay/directory structure - Set up
.gitignorerules (if needed)
The init command automatically adds the FreezeRay package to your project. No need to manually edit
Package.swift!Manual Package Installation (Alternative)
If you prefer to add the package manually:Verify Installation
Check that everything is set up:System Requirements
- macOS 14.0+
- Xcode 15.0+
- Swift 5.9+
- iOS Simulator (for freezing operations)
Next Steps
Follow the Quickstart
Freeze your first schema in 5 minutes