sherpa-onnx icon indicating copy to clipboard operation
sherpa-onnx copied to clipboard

release c api for ios

Open thewh1teagle opened this issue 11 months ago • 4 comments

Hi, I need the IOS arm64 simulator C API build for use with sherpa-rs on macOS M1.

Update: Maybe I was wrong and it's universal library. Unfortunately I have issues linking it in Rust so maybe non universal libs will be useful

thewh1teagle avatar Jan 01 '25 14:01 thewh1teagle

can you describe which file you are using?

csukuangfj avatar Jan 01 '25 23:01 csukuangfj

can you describe which file you are using?

This file

https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.37/sherpa-onnx-v1.10.37-ios.tar.bz2

thewh1teagle avatar Jan 02 '25 15:01 thewh1teagle

Unfortunately I have issues linking it in Rust so maybe non universal libs will be useful

Please describe in detail the issue you have.

csukuangfj avatar Jan 06 '25 03:01 csukuangfj

https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.37/sherpa-onnx-v1.10.37-ios.tar.bz2

It contains static libs.

Can you try https://github.com/k2-fsa/sherpa-onnx/blob/master/build-ios-shared.sh which generates shared libs.

csukuangfj avatar Jan 20 '25 08:01 csukuangfj