I get the above runtime message after I upgraded to Swift4.1 and Xcode 9.3. Before the upgrade I did not have this message in my console window.
Status ba
In my case, it was hiding navigation bare by
self.navigationController?.isNavigationBarHidden = false
When you are hiding the navigation bar, it hides status bar too!. just use
self.navigationController?.navigationBar.isHidden = true
instead. And you will have your status bar back.