07-18-2023, 11:35 PM
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.
[![enter image description here][1]][1]
Is there any way in Xcode to isolate which is causing this problem?
[1]:
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.
[![enter image description here][1]][1]
Is there any way in Xcode to isolate which is causing this problem?
[1]: