I'm building a SwiftUI App on Xcode 11 but is terminating immediately whenever I switch to a particular tab in the app.
Thing is, it always points to the Application Delegate
file, which I think is not really the problem. I'm also getting this error in the console precondition failure: invalid input index: 2
and that's it, no more additional details on what file, array, or function this error is coming from.
Is there any way in Xcode to isolate which is causing this problem?
@Binding