Post

Replies

Boosts

Views

Activity

Swift Testing Failed to complete Unit Tests -> not enough values to unpack (expected 2, got 1)
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: ) { ... }
0
0
90
Aug ’25
Using Menu in tabViewBottomAccessory
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
2
0
243
Oct ’25