Closed generalworksinc closed 3 months ago
When I comment out, no error occured.
src-tauri/src/lib.rs
//use reqwest::{Client};
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_shell::init())
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
This is related to https://github.com/kornelski/rust-security-framework/pull/204. Downgrading security-framework
from 2.11 to 2.10 solves the issue.
Thanks for information!
It seems that the issue have been merged on rust-security-framework, so I will check when the next version of rust-security-framework is incorporated.
Closing this then. Please reach out if it's still an issue on the next rust-security-framework release and we'll re-open this issue.
Thanks! this saves tons of my time.... I thought it was an Xcode bug!
Describe the bug
bun run tauri ios dev returns error:
Reproduction
Minimal code here. https://github.com/generalworksinc/tauri2_build_test
When I comment out the first
reqwest::{Client};
in the code ofsrc-tauri/src/lib.rs
, the error will no longer occur. https://github.com/generalworksinc/tauri2_build_test/blob/main/src-tauri/src/lib.rsExpected behavior
Start dev server without error
Full
tauri info
outputStack trace
No response
Additional context
No response