We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It failed to build since sherpa-onnx missing the prebuilt C API
Maybe related:
SHERPA_BUILD_DEBUG=1 cargo build --release --target aarch64-apple-ios-sim
Error:
Compiling sherpa-rs-sys v0.6.1 (/Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys) warning: [email protected]: [DEBUG] target_os = ios warning: [email protected]: [DEBUG] TARGET: "aarch64-apple-ios-sim" warning: [email protected]: [DEBUG] TARGET: aarch64-apple-ios-sim warning: [email protected]: [DEBUG] CARGO_MANIFEST_DIR: /Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys warning: [email protected]: [DEBUG] TARGET_DIR: /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release warning: [email protected]: [DEBUG] OUT_DIR: /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out warning: [email protected]: [DEBUG] Copy /Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys/sherpa-onnx to /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out/sherpa-onnx warning: [email protected]: [DEBUG] mapped clang target: arm64-apple-ios-simulator warning: [email protected]: [DEBUG] Generating bindings... warning: [email protected]: [DEBUG] Writing bindings to "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out/bindings.rs" warning: [email protected]: [DEBUG] Bindings Created warning: [email protected]: [DEBUG] Download binaries enabled warning: [email protected]: [DEBUG] Extracting dist for target: aarch64-apple-ios-sim warning: [email protected]: [DEBUG] raw target_dist: "{\"archive\":\"sherpa-onnx-v1.10.36-ios.tar.bz2\",\"is_dynamic\":false,\"targets\":{\"aarch64-apple-ios\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64/libsherpa-onnx.a\"],\"aarch64-apple-ios-sim\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a\"],\"x86_64-apple-ios\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a\"]}}" warning: [email protected]: [DEBUG] checking is_dynamic warning: [email protected]: [DEBUG] is_dynamic: false warning: [email protected]: [DEBUG] dist: Dist { url: "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.36/sherpa-onnx-v1.10.36-ios.tar.bz2", name: "sherpa-onnx-v1.10.36-ios", checksum: "da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d", libs: Some(["build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a", "build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a"]) } warning: [email protected]: [DEBUG] is_dynamic after: false warning: [email protected]: [DEBUG] Cache dir: /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d warning: [email protected]: [DEBUG] Skip fetch file. Using cache from /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/sherpa-onnx-v1.10.36-ios warning: [email protected]: [DEBUG] dist libs: Some(["build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a", "build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a"]) warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator warning: [email protected]: [DEBUG] Skpping build with Cmake... warning: [email protected]: [DEBUG] SHERPA_LIB_PATH: /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/lib warning: [email protected]: [DEBUG] Sherpa libs: ["onnxruntime", "sherpa-onnx"] warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out/lib warning: [email protected]: [DEBUG] cargo:rustc-link-lib=static=onnxruntime warning: [email protected]: [DEBUG] cargo:rustc-link-lib=static=sherpa-onnx warning: [email protected]: [DEBUG] cargo:rustc-link-lib=framework=CoreML warning: [email protected]: [DEBUG] cargo:rustc-link-lib=framework=Foundation warning: [email protected]: [DEBUG] cargo:rustc-link-lib=dylib=c++ error: failed to add native library /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a: Unsupported archive identifier The following warnings were emitted during compilation: warning: [email protected]: [DEBUG] target_os = ios warning: [email protected]: [DEBUG] TARGET: "aarch64-apple-ios-sim" warning: [email protected]: [DEBUG] TARGET: aarch64-apple-ios-sim warning: [email protected]: [DEBUG] CARGO_MANIFEST_DIR: /Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys warning: [email protected]: [DEBUG] TARGET_DIR: /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release warning: [email protected]: [DEBUG] OUT_DIR: /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out warning: [email protected]: [DEBUG] Copy /Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys/sherpa-onnx to /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out/sherpa-onnx warning: [email protected]: [DEBUG] mapped clang target: arm64-apple-ios-simulator warning: [email protected]: [DEBUG] Generating bindings... warning: [email protected]: [DEBUG] Writing bindings to "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out/bindings.rs" warning: [email protected]: [DEBUG] Bindings Created warning: [email protected]: [DEBUG] Download binaries enabled warning: [email protected]: [DEBUG] Extracting dist for target: aarch64-apple-ios-sim warning: [email protected]: [DEBUG] raw target_dist: "{\"archive\":\"sherpa-onnx-v1.10.36-ios.tar.bz2\",\"is_dynamic\":false,\"targets\":{\"aarch64-apple-ios\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64/libsherpa-onnx.a\"],\"aarch64-apple-ios-sim\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a\"],\"x86_64-apple-ios\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a\"]}}" warning: [email protected]: [DEBUG] checking is_dynamic warning: [email protected]: [DEBUG] is_dynamic: false warning: [email protected]: [DEBUG] dist: Dist { url: "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.36/sherpa-onnx-v1.10.36-ios.tar.bz2", name: "sherpa-onnx-v1.10.36-ios", checksum: "da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d", libs: Some(["build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a", "build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a"]) } warning: [email protected]: [DEBUG] is_dynamic after: false warning: [email protected]: [DEBUG] Cache dir: /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d warning: [email protected]: [DEBUG] Skip fetch file. Using cache from /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/sherpa-onnx-v1.10.36-ios warning: [email protected]: [DEBUG] dist libs: Some(["build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a", "build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a"]) warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator warning: [email protected]: [DEBUG] Skpping build with Cmake... warning: [email protected]: [DEBUG] SHERPA_LIB_PATH: /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios-sim/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/lib warning: [email protected]: [DEBUG] Sherpa libs: ["onnxruntime", "sherpa-onnx"] warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios-sim/release/build/sherpa-rs-sys-e582d7e081df371a/out/lib warning: [email protected]: [DEBUG] cargo:rustc-link-lib=static=onnxruntime warning: [email protected]: [DEBUG] cargo:rustc-link-lib=static=sherpa-onnx warning: [email protected]: [DEBUG] cargo:rustc-link-lib=framework=CoreML warning: [email protected]: [DEBUG] cargo:rustc-link-lib=framework=Foundation warning: [email protected]: [DEBUG] cargo:rustc-link-lib=dylib=c++ error: could not compile `sherpa-rs-sys` (lib) due to 1 previous error
SHERPA_BUILD_DEBUG=1 cargo build --release --target aarch64-apple-ios
Compiling once_cell v1.19.0 Compiling pin-project-lite v0.2.14 Compiling indenter v0.3.3 Compiling hound v3.5.1 Compiling eyre v0.6.12 Compiling sherpa-rs-sys v0.6.1 (/Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys) Compiling tracing-core v0.1.32 Compiling tracing v0.1.40 warning: [email protected]: [DEBUG] target_os = ios warning: [email protected]: [DEBUG] TARGET: "aarch64-apple-ios" warning: [email protected]: [DEBUG] TARGET: aarch64-apple-ios warning: [email protected]: [DEBUG] CARGO_MANIFEST_DIR: /Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys warning: [email protected]: [DEBUG] TARGET_DIR: /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release warning: [email protected]: [DEBUG] OUT_DIR: /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/build/sherpa-rs-sys-17a068aa21633658/out warning: [email protected]: [DEBUG] Copy /Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs-sys/sherpa-onnx to /Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/build/sherpa-rs-sys-17a068aa21633658/out/sherpa-onnx warning: [email protected]: [DEBUG] Generating bindings... warning: [email protected]: [DEBUG] Writing bindings to "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/build/sherpa-rs-sys-17a068aa21633658/out/bindings.rs" warning: [email protected]: [DEBUG] Bindings Created warning: [email protected]: [DEBUG] Download binaries enabled warning: [email protected]: [DEBUG] Extracting dist for target: aarch64-apple-ios warning: [email protected]: [DEBUG] raw target_dist: "{\"archive\":\"sherpa-onnx-v1.10.36-ios.tar.bz2\",\"is_dynamic\":false,\"targets\":{\"aarch64-apple-ios\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64/libsherpa-onnx.a\"],\"aarch64-apple-ios-sim\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a\"],\"x86_64-apple-ios\":[\"build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64_x86_64-simulator/libonnxruntime.a\",\"build-ios/sherpa-onnx.xcframework/ios-arm64_x86_64-simulator/libsherpa-onnx.a\"]}}" warning: [email protected]: [DEBUG] checking is_dynamic warning: [email protected]: [DEBUG] is_dynamic: false warning: [email protected]: [DEBUG] dist: Dist { url: "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.36/sherpa-onnx-v1.10.36-ios.tar.bz2", name: "sherpa-onnx-v1.10.36-ios", checksum: "da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d", libs: Some(["build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64/libonnxruntime.a", "build-ios/sherpa-onnx.xcframework/ios-arm64/libsherpa-onnx.a"]) } warning: [email protected]: [DEBUG] is_dynamic after: false warning: [email protected]: [DEBUG] Cache dir: /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d warning: [email protected]: [DEBUG] Skip fetch file. Using cache from /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/sherpa-onnx-v1.10.36-ios warning: [email protected]: [DEBUG] dist libs: Some(["build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64/libonnxruntime.a", "build-ios/sherpa-onnx.xcframework/ios-arm64/libsherpa-onnx.a"]) warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64 warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/sherpa-onnx.xcframework/ios-arm64 warning: [email protected]: [DEBUG] Skpping build with Cmake... warning: [email protected]: [DEBUG] SHERPA_LIB_PATH: /Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/lib warning: [email protected]: [DEBUG] Sherpa libs: ["onnxruntime", "sherpa-onnx"] warning: [email protected]: [DEBUG] cargo:rustc-link-search=/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/build/sherpa-rs-sys-17a068aa21633658/out/lib warning: [email protected]: [DEBUG] cargo:rustc-link-lib=static=onnxruntime warning: [email protected]: [DEBUG] cargo:rustc-link-lib=static=sherpa-onnx warning: [email protected]: [DEBUG] cargo:rustc-link-lib=framework=CoreML warning: [email protected]: [DEBUG] cargo:rustc-link-lib=framework=Foundation warning: [email protected]: [DEBUG] cargo:rustc-link-lib=dylib=c++ Compiling sherpa-rs v0.6.1 (/Volumes/Internal/audio/sherpa-rs/crates/sherpa-rs) error: linking with `cc` failed: exit status: 1 | = note: env -u MACOSX_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin:/Users/user/Library/pnpm:/Users/user/go/bin:/Users/user/v:/Users/user/.gem/ruby/3.3.0/bin:/Users/user/.gem/bin:/opt/homebrew/Cellar/ruby/3.3.4/bin:/Applications/vibe.app/Contents/Resources:/Applications/CMake.app/Contents/bin:/opt/homebrew/opt/llvm/bin:/Users/user/.bun/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/MacGPG2/bin:/usr/local/go/bin:/Users/user/.cargo/bin:/Users/user/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Users/user/zig:/opt/homebrew/bin:/Users/user/flutter/bin" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-Wl,-exported_symbols_list" "-Wl,/var/folders/k6/b4k6mjy92dxbm_l2my6zzlnm0000gn/T/rustcpkOVJf/list" "-arch" "arm64" "/var/folders/k6/b4k6mjy92dxbm_l2my6zzlnm0000gn/T/rustcpkOVJf/symbols.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.0.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.1.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.2.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.3.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.4.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.5.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.6.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.7.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.sherpa_rs.88ef4b5877b25e25-cgu.8.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/sherpa_rs.829olczxijr14wf2q13mxk590.rcgu.o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libsherpa_rs_sys-749ef6ceafb01a44.rlib" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libtracing-e2d2bb2ff4693409.rlib" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libpin_project_lite-0750fd9d5b146d91.rlib" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libtracing_core-9b5bbe4899c77c1d.rlib" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libhound-c9fb19e53c234745.rlib" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libeyre-80a8259815aa3c51.rlib" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libindenter-021e139ecfcefca9.rlib" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libonce_cell-2accaabd7fc4be4f.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libstd-899c1dc10058bab5.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libpanic_unwind-2d1d8159edc641de.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libobject-ea23f6e983a33c02.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libmemchr-62c1030a1cbf965b.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libaddr2line-b586821fd3f875ab.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libgimli-474caef0e8ea1658.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/librustc_demangle-18acde1ae19f94d8.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libstd_detect-37618758e090f176.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libhashbrown-91b5b24c41f226e8.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/librustc_std_workspace_alloc-146f4e5296100251.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libminiz_oxide-9e1add4840f216c3.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libadler-c56010c71abf1007.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libunwind-f3de18c0d04ba2cb.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libcfg_if-3738dc124f2824a0.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/liblibc-bae753c67f6f431d.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/liballoc-e8c435b244d0be60.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/librustc_std_workspace_core-301b883cf2a82c58.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libcore-70bc56e7f2f09a79.rlib" "/Users/user/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib/libcompiler_builtins-019172bd7b834998.rlib" "-framework" "CoreML" "-framework" "Foundation" "-lc++" "-lSystem" "-lc" "-lm" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk" "-L" "/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/ios-onnxruntime/1.17.1/onnxruntime.xcframework/ios-arm64" "-L" "/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/build-ios/sherpa-onnx.xcframework/ios-arm64" "-L" "/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/lib" "-L" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/build/sherpa-rs-sys-17a068aa21633658/out/lib" "-o" "/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/deps/libsherpa_rs.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" = note: ld: warning: search path '/Users/user/Library/Caches/sherpa-rs/aarch64-apple-ios/da82f2bb62beac3f3c01e31cd2437e0d2dbc1a69bfadcde4b12aa36e81064c8d/lib' not found ld: warning: search path '/Volumes/Internal/audio/sherpa-rs/target/aarch64-apple-ios/release/build/sherpa-rs-sys-17a068aa21633658/out/lib' not found Undefined symbols for architecture arm64: "___isPlatformVersionAtLeast", referenced from: -[CoreMLExecution predict:outputs:getOutputTensorDataFn:] in libsherpa_rs_sys-749ef6ceafb01a44.rlib[707](model.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) error: could not compile `sherpa-rs` (lib) due to 1 previous error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
It failed to build since sherpa-onnx missing the prebuilt C API
Maybe related:
Steps to reproduce
ios arm64 simulator
SHERPA_BUILD_DEBUG=1 cargo build --release --target aarch64-apple-ios-sim
Error:
ios arm64
SHERPA_BUILD_DEBUG=1 cargo build --release --target aarch64-apple-ios
Error:
The text was updated successfully, but these errors were encountered: