Skip to content

Releases: VoxRT/voxrt-silero-ios

v0.1.3 — Silero VAD for iOS (xcframework collision fix)

28 May 11:38

Choose a tag to compare

iOS-only patch — fixes a Headers/ namespace collision between voxrt-silero-ios and voxrt-asr-ios when both SwiftPM packages are added to
the same Xcode target.

💡 Runtime behaviour is identical to v0.1.2 — the Swift API, Rust runtime, VAD weights, and on-device performance are unchanged. Skip this
update if you only depend on voxrt-silero-ios (no voxrt-asr-ios in the same target).

What changed

The xcframework now stages C headers under a module-named subdirectory:

VoxrtSileroNative.xcframework/.../Headers/
└── VoxrtSileroNative/
    ├── module.modulemap
    └── voxrt_silero.h

Previously they sat in the flat Headers/ root, and when Xcode merged two xcframeworks into one consumer include/ tree the module.modulemap
filename collided:

error: Multiple commands produce '.../include/module.modulemap'

API-level non-breaking — Swift code does import VoxrtSileroNative (module name), not direct C-header includes.

SPM install

.package(url: "https://github.com/VoxRT/voxrt-silero-ios", from: "0.1.3"),

What's inside

  • VoxrtSileroNative.xcframework — arm64 device + arm64 simulator + x86_64 simulator. AES-256-GCM encrypted .vxrt v1 loader. iPhone 13 Pro Max
    RTF 1.85 %.
  • Silero VAD v5 weights via voxrt-silero-models v0.1.2 (no model change —
    pair with the existing release).

Cross-version compatibility

Surface Version Notes
voxrt-silero-ios v0.1.3 this release
voxrt-silero-models v0.1.2 same silero_vad.vxrt, no re-upload

License

  • Swift wrapper: Apache-2.0
  • VoxrtSileroNative.xcframework: proprietary VoxRT runtime, redistributable as part of this SwiftPM artefact
  • Silero v5 model weights: MIT (snakers4/silero-vad)

v0.1.2 — Silero VAD for iOS (hardening patch)

28 May 10:37

Choose a tag to compare

v0.1.2 hardens the iOS Silero VAD wrapper alongside the Android counterpart.

Library changes (additive, non-breaking):

  • Renamed VoxrtSileroVadVoxrtSileroVadEngine so the iOS class matches Kotlin 1:1. The old name remains as @available(*, deprecated, renamed:) typealias — existing call sites still compile with a one-shot warning.
  • New init(modelURL: URL, readingOptions: .mappedIfSafe) — the iOS counterpart of Android's fromAssetFd(afd). Memory-maps the file by default.
  • fromBundleResource(...) now routes through the URL constructor.

Runtime changes (rebuild from monorepo):

  • xcframework rebuilt with --remap-path-prefix flags landed for ASR — no host filesystem paths leak into release binaries.

Pair with: voxrt-silero-models v0.1.2 (.vxrt weights are bit-identical
to v0.1.1).

SPM install

.package(url: "https://github.com/VoxRT/voxrt-silero-ios", from: "0.1.2"),

Migration from v0.1.1

// Old (still compiles, deprecation warning):
let vad = try VoxrtSileroVad(modelBytes: data)

let vad = try VoxrtSileroVadEngine(modelURL: modelURL)

License

  • Silero VAD weights derived from snakers4/silero-vad v5 (MIT).
  • xcframework is proprietary VoxRT runtime; redistribution permitted as part of this SPM artefact.

VoxrtSilero v0.1.1

20 May 07:25

Choose a tag to compare

Initial release of VoxrtSilero for iOS — Silero v5 VAD running on the VoxRT custom Rust inference runtime.

Requires:

  • iOS 16.0+
  • arm64 (NEON-accelerated for physical devices)
  • Companion VAD weights: voxrt-silero-models@v0.1.1

Swift Package consumers install via:

  https://github.com/VoxRT/voxrt-silero-ios

pinned to v0.1.1. The xcframework attached below is auto-fetched by SPM via the URL hardcoded in Package.swift.

xcframework SHA-256 (SPM checksum):
ebce2b213870edfcb9032adc733b5e94e8081c869171a0d720c511cb04269bc1

Model weights SHA-256:
0fe8498c9bd1ae119bcb0c75c8481b3a8b8be0f95c14f334d469851c19054156