v1.13.5
sherpa-onnx v1.13.5 - Properly Combined Library Fix
Critical Fix
This release properly combines sherpa-onnx and onnxruntime into a single
static library per platform, resolving the undefined symbol errors that
downstream projects experienced.
What Changed
- Library Combination: Uses libtool to merge libsherpa-onnx.a + onnxruntime.a into single binary
- Reduced Size: xcframework compressed from 151MB to 89MB
- Cleaner Structure: Single library per platform slice instead of multiple
- No Manual Workarounds: Downstream projects no longer need linker flags
Technical Details
Previous v1.13.4 had both libraries in the xcframework but SPM only linked
sherpa-onnx, causing undefined ONNX Runtime symbols. This version uses
libtool to create a proper combined static library that includes all symbols.
Platforms
- iOS (arm64, arm64-simulator)
- macOS (arm64, x86_64 universal)
Migration
Update your Package.swift dependency:
.package(url: "https://github.com/willwade/sherpa-onnx-spm.git", from: "1.13.5")Assets
- sherpa-onnx.xcframework.zip (89MB) - Combined library xcframework