I've been heavily working with this beta since v1, and I've received this error, and many others relating to NavigationSplitView.
However, I believe every time it was relating to an issue in my code.
Various things to look out for: inspector, if you have a parent view with specific frame requirements, inset rules, custom layouts, etc.
Keep in mind I just recently picked up Swift + SwiftUI -- so I could be leaving out other important considerations.
If I were you, I would look at that error message -- here's a snippet that should help you debug your layout that is called out specifically:
import SwiftUI
@main
struct Application: App {
#if os(macOS)
// @NSApplicationDelegateAdaptor(Delegate.self) var delegate
#endif
init() {
#if DEBUG && os(macOS)
// Layout constraint debugging
UserDefaults.standard.set(true, forKey: "NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints")
#endif
}
var body: some Scene {
WindowGroup {
Features.Shell.UI.Main()
.windowResizeAnchor(.center)
}
}
}
I apologize formatting may not be perfect
Topic:
UI Frameworks
SubTopic:
SwiftUI