Skip to content

Commit

Permalink
fix(ios): invalid app name for device logs command (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Sep 5, 2023
1 parent e26533a commit a82bf57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/fix-ios-logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-mobile": patch
---

Fixes `Device::run` not showing logs.
2 changes: 1 addition & 1 deletion src/apple/ios_deploy/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn run_and_debug(
.map_err(RunAndDebugError::DeployFailed)?
.wait()
.map_err(RunAndDebugError::DeployFailed)?;
duct::cmd("idevicesyslog", ["--process", config.app().name()])
duct::cmd("idevicesyslog", ["--process", config.app().stylized_name()])
.vars(env.explicit_env())
.start()
.map_err(RunAndDebugError::DeployFailed)
Expand Down

0 comments on commit a82bf57

Please sign in to comment.