I tried every solution on stack overflow for this issue and they don't work. I get this error when I have any outlet in the storyboard connected to the view controller code.
When I disconnect the outlets from the storyboard, the app works perfectly fine. Even if I add a new outlet and connect it, I get this error.