Skip to content

Commit

Permalink
fix(cli): let xcode handle building for ios build --open (#12406)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian-Lars <[email protected]>
  • Loading branch information
bradleat and FabianLars authored Jan 25, 2025
1 parent fb294af commit 1a86974
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/change-pr-12406.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tauri-apps/cli": "patch:enhance"
"tauri-cli": "patch:enhance"
---

`ios build --open` will now let xcode start the rust build process.
4 changes: 4 additions & 0 deletions crates/tauri-cli/src/mobile/ios/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ fn run_build(
cli_options,
)?;

if options.open {
return Ok(handle);
}

let mut out_files = Vec::new();

call_for_targets_with_fallback(
Expand Down

0 comments on commit 1a86974

Please sign in to comment.