A Common Expression Language (CEL) evaluator used by SuperwallKit, built in Rust and shipped as a binary XCFramework.
This is the slim successor to superscript-ios. Unlike the original repo — which committed the ~250 MB libcel.xcframework into git on every release and grew to ~1.2 GB of history — this repo keeps the git tree tiny and distributes the framework as a GitHub Release asset. SPM's binaryTarget(url:checksum:) downloads it on demand.
.package(url: "https://github.com/superwall/superscript-ios-next.git", from: "1.0.0")Then add Superscript as a target dependency.
pod 'Superscript', '~> 1.0'The pod's prepare_command downloads the xcframework from the matching GitHub Release at install time.
Releases are produced by .github/workflows/release.yml in response to a repository_dispatch event triggered by the upstream Rust repo, superwall/superscript. On each release the workflow:
- Builds
libcel.xcframeworkfrom the Rust source. - Zips the framework and uploads it as a release asset on a new tag.
- Computes the Swift Package Manager checksum and rewrites
Package.swiftandSuperscript.podspecto reference the new release. - Commits the (small) text changes and pushes the tag.
No binaries ever land in git.