Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/SimctlCLI/Commands.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extension ShellOutCommand {
}

private static func simctl(_ cmd: String) -> String {
"xcrun simctl \(cmd)"
"xcrun simctl --set testing \(cmd)"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept of sets is described on stackoverflow: https://stackoverflow.com/a/58293549/631369

  • default set is path ~/Library/Developer/CoreSimulator/Devices source
  • "testing" is ~/Library/Developer/XCTestDevices source, which is used by parallel UI test runner
  • previews set, that is used by Xcode for rendering previews. source.

}

/// Usage: simctl list [-j | --json] [-v] [devices|devicetypes|runtimes|pairs] [<search term>|available]
Expand Down
Binary file modified bin/SimctlCLI
Binary file not shown.