From e1c012986bd5ae3ce3ea00d35092cc078f36f42c Mon Sep 17 00:00:00 2001 From: David Ackerman Date: Sun, 27 Dec 2020 22:59:15 +0200 Subject: [PATCH] Fix open Simulator command --- src/simctl.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/simctl.rs b/src/simctl.rs index 3ca85ec..a0c9360 100644 --- a/src/simctl.rs +++ b/src/simctl.rs @@ -60,7 +60,11 @@ impl Simctl { /// (in case of multiple Xcode installations). pub fn open(&self) -> Result<()> { Command::new("open") - .arg(self.developer_dir.join("Simulator.app")) + .arg( + self.developer_dir + .join("Applications") + .join("Simulator.app"), + ) .stdout(Stdio::null()) .stderr(Stdio::null()) .output()?