Apps crash on launch when using View.navigationLinkIndicatorVisibility(_:) (which is iOS 17.0+ iPadOS 17.0+ Mac Catalyst 17.0+).
Catalyst also crashes.
Stack trace starts with:
Symbol not found: _$s7SwiftUI17EnvironmentValuesV33_navigationIndicatorVisibilityABIAA0G0OvpMV
Xcode 26.0.1 (17A400)
- iPadOS 18.3.1 (22D8075)
- It also crashed a user on iOS 18.6.2
macOS 15.6.1 (24G90)
FB20596543
import SwiftUI
@main
struct NavLinkDisabledApp: App {
var body: some Scene {
WindowGroup {
NavigationStack {
List {
NavigationLink("Text") {}
.navigationLinkIndicatorVisibility(.hidden)
}
}
}
}
}
Thank you for the post and the bug report. Could you please try something for me?
Could you recompile your application against the 26.1 SDK and deploy it to the devices where the application was crashing? Please let me know if the issue persists or if Xcode 26.1 beta has resolved the problem.
Thanks for trying that and thanks in advance if you can post the results here.
Albert Pascual Worldwide Developer Relations.