I get the above mentioned issue all the time when I first launch the app in the day. When I first launch the app, I make server calls to get some data and then play animation v
Check if you have an exception breakpoint to capture "All Exceptions" in breakpoint navigator. This fixed it for me.
I have resolved this issue in Xcode 9.1 with below steps.
1.Select Simulator
2.Select Debug from top menu items.
3.Select Location from Debug menu list.
4.Select Apple location.
Issue: same with Xcode 9.0 iOS11. Resolution: new iOS requires you to manually turn on privacy for new deployment apps. Upgrades of the app is not needed. Following these steps: (1) iPhone "Settings" icon: click (2) "Privacy": click (3) "Location Services": click (4) [Your app]: click on your app (5) "While Using the App": click
Was experiencing this too, fixed it by giving the simulator a default location. It may be a code smell so watch how you handle the new location permissions in iOS11.
I had similar problem. Turns out in the App/Capabilities, I have Wireless Accessory Configuration with some red warnings. Click the button automatically solved the problem.
Not sure if it would work for you. I am using Xcode 8.
You might have overrided loadView() without calling super method.
Change
override func loadView() {
}
To
override func loadView() {
super.loadView()
}