UPDATE:
I stopped getting this when I moved the Toolbars I had put in separate files back into their parent view struct.
I was getting this warning in the console: "Unsupported layout off the main thread for SwiftUI.UIKitToolbar with nearest ancestor view controller, SwiftUI.UIKitNavigationController" so I figured it was something to do with Toolbars but I had no idea what exactly. I had also tried using @MainActor in the Toolbar files but I just kept getting the same warning and crashes.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: