Could not successfully update network info during initialization

爱⌒轻易说出口 提交于 2019-12-03 09:52:01
Srithar Rajendran

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.

Check if you have an exception breakpoint to capture "All Exceptions" in breakpoint navigator. This fixed it for me.

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.

Q Liu

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.

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

You might have overrided loadView() without calling super method.

Change

override func loadView() {

}

To

override func loadView() {
  super.loadView()
}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!