Instance Property
destinations
One or more xcodebuild destination strings.
var destinations: [String]?Discussion
Each entry is passed as -destination <value> to a separate xcodebuild test invocation. Results are aggregated across all destinations.
Example entries:
"platform=iOS Simulator,name=iPhone 16 Pro,OS=18.2""platform=iOS,name=My iPhone"
When non-nil and non-empty this field takes precedence over destination. Use DestinationDiscovery to populate this from available devices rather than constructing strings by hand.