Same here - This method should not be called on the main thread as it may lead to UI unresponsiveness. Xcode 14.2, target iOS 16.0. Cause: Google Ad Mob.
Post
Replies
Boosts
Views
Activity
I was able to remove the runtime warning using a button instead of a navigation link, similar to RandoCorleones' suggestion. I toggled an isPresented State variable within the button that triggered a navigationDestination.
.navigationDestination(isPresented: $isPresented, destination: {
TriggeredView()
})
Having encountered this same issue, I found that you must first create a dummy Sandbox ID:
https://help.apple.com/app-store-connect/#/dev8b997bee1
Next, on your device, go to Settings -> AppStore -> Sandbox Account. Log out of your Apple ID and punch in the Sandbox ID.
Finally, delete the app on your device and reinstall from TestFlight.
I hope this helps!
For me it was a LazyVStack higher up in the calling tree.
Same here