Fix: switch to --device instead of --device true

This commit is contained in:
Jonathan Kelley committed 2025-06-30 19:18:48 -07:00
1 parent 7d24a47c22
commit 0bd376b873
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -605,7 +605,7 @@ impl BuildRequest {
// We usually use the simulator unless --device is passed *or* a device is detected by probing.
// For now, though, since we don't have probing, it just defaults to false
// Tools like xcrun/adb can detect devices
let device = args.device.unwrap_or(false);
let device = args.device;
// We want a real triple to build with, so we'll autodetect it if it's not provided
// The triple ends up being a source of truth for us later hence all this work to figure it out