Monorepo for Corbado's native iOS libraries, distributed via Swift Package Manager as products of this package.
| Directory | Product | Description |
|---|---|---|
observe/ |
CorbadoObserve |
Authentication observability — instrument your auth flows and make them visible in the Corbado developer panel. |
Example / test applications live under examples/ and are never published.
dependencies: [
.package(url: "https://github.com/corbado/ios.git", from: "0.1.0")
]Then depend on the product you need (e.g. CorbadoObserve).
- iOS 15+ (libraries are built to be embeddable in any app — they deliberately avoid APIs that would raise your app's deployment target)
- Swift 6, zero third-party dependencies (system frameworks only)
# UIKit dependency → simulator only; swift build/test on the macOS host do not work.
xcodebuild test -scheme corbado-ios \
-destination 'platform=iOS Simulator,name=iPhone 16' # build + unit tests
(cd examples/observe && xcodegen generate) # generate the example Xcode project
swift format --in-place --recursive observe # format
swiftlint # static analysisSee RELEASING.md. Short version: SPM resolves versions from repo-wide
git tags — pushing a tag v<semver> is the release. Integrators can track main as
the snapshot channel.