Could not successfully update network info during initialization

后端 未结 6 1531
忘掉有多难
忘掉有多难 2021-02-12 13:03

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

相关标签:
6条回答
  • 2021-02-12 13:40

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

    0 讨论(0)
  • 2021-02-12 13:47

    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.

    0 讨论(0)
  • 2021-02-12 13:48

    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

    0 讨论(0)
  • 2021-02-12 13:57

    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.

    0 讨论(0)
  • 2021-02-12 14:03

    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.

    0 讨论(0)
  • 2021-02-12 14:06

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

    Change

    override func loadView() {
    
    }
    

    To

    override func loadView() {
      super.loadView()
    }
    
    0 讨论(0)
提交回复
热议问题