Whose Error Is It?
Swift printed this
Fatal error: Unexpectedly found nil while unwrapping an Optional value
What it meansYour code force unwrapped an Optional using ! or an implicitly unwrapped type, and it held nil at runtime, so the app crashed.
The first thing to checkCheck the crashing line for a !; disconnected IBOutlets are a common cause, so use if let, guard let, or ?? to handle nil safely.