Skip to content

Commit

Permalink
fix(apple): allow selecting visionOS simulator (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
CrabNejonas authored Sep 19, 2023
1 parent a26988a commit 21b1386
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/allow-vision-os.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-mobile": patch
---

Allow selecting "Apple Vision Pro" as an emulator.
2 changes: 1 addition & 1 deletion src/apple/simctl/device_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn parse_device_list(output: &std::process::Output) -> Result<BTreeSet<Device>,
let devices = serde_json::from_str::<DeviceListOutput>(&stdout)?
.devices
.into_iter()
.filter(|(k, _)| k.contains("iOS"))
.filter(|(k, _)| k.contains("iOS") || k.contains("xrOS"))
.flat_map(|(_, v)| v)
.collect();

Expand Down

0 comments on commit 21b1386

Please sign in to comment.