Skip to main content

Multi-arch packaging

Public and Swift Package Index (SPI) releases of BoutiqueDB must include a universal, multi-arch TursoSDK.xcframework. Single-slice builds are only for local debugging.

Required slices

Build the framework

The script produces Vendor/TursoSDK.xcframework and Vendor/TursoSDK.xcframework.zip.

Validate slices

Every .a must contain the expected architectures before the build is shipped.

Update Package.swift

Copy the checksum into Package.swift as tursoSDKChecksum. If you are releasing a new binary, also bump tursoSDKVersion and upload the zip to GitHub Releases with a matching tag.

Security

  • Do not commit Vendor/TursoSDK.xcframework or .a files to git (they are gitignored).
  • Do not use unsafeFlags in Package.swift; SPI and App Store submission reject them.
  • Store release signing identities and checksums in a safe location.

CI validation

Before tagging, validate a clean clone: