Skip to content

fix: add crate-type staticlib for mobile build - #612

Merged
lucasfernog merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/ios-staticlib
Feb 21, 2024
Merged

fix: add crate-type staticlib for mobile build#612
lucasfernog merged 1 commit into
tauri-apps:devfrom
pewsheen:fix/ios-staticlib

Conversation

@pewsheen

Copy link
Copy Markdown
Contributor

iOS build needs to generate its static library and link it.

Error message without staticlib

Error [tauri_cli] Library not found at /Users/jason/Documents/recipies-test/src-tauri/target/aarch64-apple-ios-sim/debug/librecipies_test_lib.a. Make sure your Cargo.toml file has a [lib] block with `crate-type = ["staticlib", "cdylib", "rlib"]`
Command PhaseScriptExecution failed with a nonzero exit code

@lucasfernog
lucasfernog merged commit 766eb7e into tauri-apps:dev Feb 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants