I'm using NavigationLink(value:label:)
and .navigationDestination(for:destination:)
in my SwiftUI watchOS app.
However navigating in the app causes the system to emit the following errors to the console:
<NavigationHostingControllerCache>: MISS at depth 1 in free stack
[NavigationHostingControllerCache_UIKit] <_TtGC7SwiftUI32NavigationStackHostingControllerVS_7AnyView_: 0x125015000> containment skipped because sourceNavigationController or destination were nil or sourceNavigationController was equal to destination
[NavigationHostingControllerCache_UIKit] Eject called for index: depth 1 in free stack
Library: SwiftUI
, Subsystem: com.apple.SwiftUI
, Category: Invalid Configuration
The navigation itself does work fine. I'm wondering there's something I can do to fix it or if this is an internal issue of the SwiftUI framework and cannot be addressed by me? (i.e. I can ignore this)