Post

Replies

Boosts

Views

Activity

What causes this error? [UIFocus] Failed to update focus with context
I have an app that just started becoming unresponsive. I just updated my Mac to 12.3 and Xcode to 13.3. When compiling my iOS app for iPhone and iPad, it deploys just fine to devices. But, when running in the Simulator the UI stops functioning after a few renders. No input seems to be received, no renders are happening. In the log I see this message: [UIFocus] Failed to update focus with context <UIFocusUpdateContext: 0x60000081a8a0: previouslyFocusedItem=(null), nextFocusedItem=(null), focusHeading=None>. No additional info available. What is causing this only for the Simulator? (I saw another thread with similar-looking questions.) I even created a completely new Xcode Project, and though the UI is still responsive, in the logs I see: [UIFocus] Failed to update focus with context <UIFocusUpdateContext: 0x6000025aa940: previouslyFocusedItem=(null), nextFocusedItem=(null), focusHeading=None>. No additional info available. [UIFocus] Deferring focus update to item <SwiftUI.ListTableViewCell: 0x7fd632846a00>. No additional info available. [UIFocus] Failed to update focus with context <UIFocusUpdateContext: 0x6000025a5fe0: previouslyFocusedItem=(null), nextFocusedItem=(null), focusHeading=None>. No additional info available. [UIFocus] Deferring focus update to item <SwiftUI.ListTableViewCell: 0x7fd63284ca00>. No additional This feels like a relatively new error I haven't seen before.
16
1
8.4k
Mar ’22