mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 17:11:17 -08:00
fix(ios): link AudioToolbox via tauri.conf iOS frameworks
This commit is contained in:
2 files changed
+2
-6
No files matched your search
@@ -26,11 +26,6 @@ fn main() {
|
||||
println!("cargo:rustc-link-arg-bins=-Wl,-rpath,/usr/lib/swift");
|
||||
}
|
||||
|
||||
// AudioServicesPlaySystemSound (ios.rs). System framework.
|
||||
if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("ios") {
|
||||
println!("cargo:rustc-link-lib=framework=AudioToolbox");
|
||||
}
|
||||
|
||||
tauri_typegen::BuildSystem::generate_at_build_time()
|
||||
.expect("Failed to generate TypeScript bindings");
|
||||
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
"infoPlist": "Info.plist"
|
||||
},
|
||||
"iOS": {
|
||||
"template": "src-tauri/ios-project.yml"
|
||||
"template": "src-tauri/ios-project.yml",
|
||||
"frameworks": ["AudioToolbox"]
|
||||
},
|
||||
"linux": {
|
||||
"deb": {
|
||||
|
||||
Reference in new issue
Block a user