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!
Feb ’26
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
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!
Replies
Boosts
Views
Activity
Feb ’26
Reply to `requestFullAccessToEvents(completion:)` does not work
For us, it was the missing entries in Info.plist. Make sure to add the new entries NSCalendarsWriteOnlyAccessUsageDescription and/or NSCalendarsFullAccessUsageDescription. Also, keep in mind, that if you're still supporting older iOS versions (lower than 17), you should also include the NSCalendarsUsageDescription.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Error with POD Firebase and can't upload to App Store Connect
This has been fixed in CocoaPods - https://github.com/CocoaPods/CocoaPods/pull/12009 - but not yet released. It should appear in the 1.13.0 version. You can point to the latest CocoaPods version in your Gemfile until then.
Replies
Boosts
Views
Activity
Aug ’23
Reply to Xcode UI tests on iOS 14+ break iMessage links
What works quite well for me is using the Contacts app - storing the deeplink under a specific contact's URL (i.e. Contacts > John Appleseed > Edit > add url > type url > done > tap url)
Replies
Boosts
Views
Activity
Dec ’22
Reply to xcodebuild -exportArchive fails for developer-id signed app
"Solved it" by going back to Xcode 12.5.1 for the moment.
Replies
Boosts
Views
Activity
Sep ’21
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:
Replies
Boosts
Views
Activity
May ’21
Reply to WatchConnectivity for Xcode 12 / watchOS 7 / iOS 14 beta broken
WCSession.default.updateApplicationContext(...) has been working for me for quite some time. But after just updating to Xcode 12.5 it now seems to be broken (again) :(((
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’21