I’m migrating some XCTest cases to Swift Testing and hit a runtime error when using tuple arguments within the CI. I don't have an issue when running locally.
[2025-08-21 14:22:13.493] [unit_tests] [WARNING] Could not find test status list for -[FooManagerTests testEndpoint(region:enforce:expectedEndpoint:)]
[2025-08-21 14:22:18.054] [unit_tests] [ERROR] not enough values to unpack (expected 2, got 1)
##[error]Failed to complete Unit Tests -> not enough values to unpack (expected
@Test("Telemetry endpoint routing", arguments: [
(TelemetryRegion.value1, false, Foo.someValue1),
(TelemetryRegion.value2, false, Foo.someValue2),
(TelemetryRegion.value3, true, Foo.someValue3),
(TelemetryRegion.value4, false, Foo.someValue4),
])
func testEndpoint(region: enforce: expectedEndpoint: ) { ... }
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I'm trying to use menu in tabViewBottomAccessory to present a menu of options and I'm finding that the tap is only registered if the text is tapped any taps outside of the text is not registered.
Is there a way to get the whole button to register?
TabView(selection: $entryManager.currentTab) {
Tab("Home", systemImage: "circle.hexagonpath.fill", value: .home) {
SomeView()
}
.tabViewBottomAccessory {
Menu("Post Review") {
// MARK: Submit Other
Button(action: {
}
) {
Label("Submit Other", systemImage: "building.2.fill")
}
Button(action: {
}
) {
Label("Submit Bed", systemImage: "bed.double.fill")
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
I'm working on moving XCTests to Swift Testing and trying to understand why it shows Testing Library Version: 102 (arm64-apple-ios13.0-simulator) when running. Why iOS 13?