scd archive
Builds an SPM project and packages it into a distributable artifact. Supports three archive types: an Android AAR (android-aar), an Android test APK (android-test-apk), or a plain file tree (default). Multiple --platform values can be passed in a single invocation to produce a multi-architecture archive.
Synopsis
Section titled “Synopsis”scd archive [options]Options
Section titled “Options”| Option | Description |
|---|---|
-p, --path | Path to the SPM project. Defaults to current directory |
-c, --configuration | Build configuration: Debug (default) or Release |
--platform | Target platform. See Platforms |
-o, --output | Path to output directory |
--verbose | Enable verbose output |
All commands also accept Global Options.
Examples
Section titled “Examples”# Archive for Android ARM64scd archive --platform android-arm64-v8a --configuration Release