Post

Replies

Boosts

Views

Activity

Reply to Unable to launch tests in Xcode 26
We're also getting the same error ... encountered an error (The test runner hung before establishing connection.) We tried nearly everything, including disabling the Thread Performance Checker in the test scheme shutting down all emulators via xcrun simctl shutdown all and erasing them xcrun simctl erase all force killing any potential hanging simulators beforehand clearing all Simulator logs and caches restarting the machine(s) But this still keeps popping up intermittently. We're using Xcode 26.2. Any tips on what we might want to try next? Thanks!
14h
Reply to Unable to present. Please file a bug.
I'm seeing the same error - Unable to present. Please file a bug. My setup is that I have a ParentView that has a NavigationLink that leads to ChildView. On the ChildView, I have a @StateObject view-model. And whenever something in ChildView changes and causes things to be rebuilt (repainted) in ParentView, I get this message Unable to present. Please file a bug. My intuition tells me that at that moment, ChildView gets rebuilt as well, only keeping the @StateObject, and it does not properly get presented. But I'm curious to find out what the "real" explanation and a possible solution is.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’21