Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run it in MacOS with Swift APi examples #1368

Open
Intiserahmed opened this issue Sep 21, 2024 · 3 comments
Open

Unable to run it in MacOS with Swift APi examples #1368

Intiserahmed opened this issue Sep 21, 2024 · 3 comments

Comments

@Intiserahmed
Copy link

Hi, iOS is properly working, but when i try with MacOS build script with swift api examples, kindda confuse how to use it ? Any step by step guide for macos?

@csukuangfj
Copy link
Collaborator

The following is an example:

git clone https://github.com/k2-fsa/sherpa-onnx

cd sherpa-onnx
./build-swift-macos.sh

cd swift-api-examples

# there are several ./run-xxx.sh
# For instance,

./run-decode-file.sh

./run-tts.sh

@Intiserahmed
Copy link
Author

@csukuangfj yeah i already run it, but how to use it with xcode project any example or hints please?

@csukuangfj
Copy link
Collaborator

We have provided the required header file, libraries, and swift APIs.

Could you tell us the difficulty you have? Would be great if you can post error logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants