What causes (and how can I fix) this odd Core Location error?

后端 未结 7 1738
太阳男子
太阳男子 2021-02-05 12:42

ERROR,Generic,Time,320195751.128,Function,\"void CLClientHandleRegistrationTimerExpiry(__CFRunLoopTimer*, void*)\",Registration timer expired, but client is

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-05 13:12

    Are you doing location stuff on the main thread? I had all sorts of bizarro issues with CLLocation API calls from a background thread. I moved a couple of key setup calls into the main thread, then everything worked fine.

提交回复
热议问题