Skip to content

Commit 1a86974

Browse files
bradleatFabianLars
andauthored
fix(cli): let xcode handle building for ios build --open (#12406)
Co-authored-by: Fabian-Lars <github@fabianlars.de>
1 parent fb294af commit 1a86974

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changes/change-pr-12406.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@tauri-apps/cli": "patch:enhance"
3+
"tauri-cli": "patch:enhance"
4+
---
5+
6+
`ios build --open` will now let xcode start the rust build process.

crates/tauri-cli/src/mobile/ios/build.rs

+4
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ fn run_build(
293293
cli_options,
294294
)?;
295295

296+
if options.open {
297+
return Ok(handle);
298+
}
299+
296300
let mut out_files = Vec::new();
297301

298302
call_for_targets_with_fallback(

0 commit comments

Comments
 (0)