Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on iOS 12 (Crashed: com.tonymillion.reachability) #174

Open
shashankmeddo opened this issue Mar 27, 2019 · 0 comments
Open

Crash on iOS 12 (Crashed: com.tonymillion.reachability) #174

shashankmeddo opened this issue Mar 27, 2019 · 0 comments

Comments

@shashankmeddo
Copy link

My app is crashing oftenly for users PFA crashatics logs.
I am using block based notifier and starting it on app launch

Method called on didfinishlaunching ----->>>>
func listenInternetConnection () {
self.reach = Reachability.forLocalWiFi();

self.reach!.reachableBlock = {
  (reach: Reachability?) -> Void in
  self.checkAndUploadPendingConsultations();
}

self.reach!.unreachableBlock = {
  (reach: Reachability?) -> Void in
  //print("UNREACHABLE!")
}


self.reach!.startNotifier()

}

Please find logs ------->>>>>>

#19. Crashed: com.tonymillion.reachability
0 myapp 0x1025c51d4 specialized AppDelegate.checkAndUploadPendingConsultations() (AppDelegate.swift:118)
1 myapp 0x1025c3758 thunk for @escaping @callee_guaranteed (@guaranteed Reachability?) -> () ()
2 Arctern 0x102587f74 -[Reachability reachabilityChanged:] (Reachability.m:450)
3 Arctern 0x1025879fc TMReachabilityCallback (Reachability.m:83)
4 SystemConfiguration 0x193a6fa14 reachPerformAndUnlock + 540
5 libdispatch.dylib 0x1926ed6c8 _dispatch_call_block_and_release + 24
6 libdispatch.dylib 0x1926ee484 _dispatch_client_callout + 16
7 libdispatch.dylib 0x192695bd0 _dispatch_lane_serial_drain$VARIANT$mp + 592
8 libdispatch.dylib 0x192696718 _dispatch_lane_invoke$VARIANT$mp + 432
9 libdispatch.dylib 0x19269eeb8 _dispatch_workloop_worker_thread + 600
10 libsystem_pthread.dylib 0x1928d10dc _pthread_wqthread + 312
11 libsystem_pthread.dylib 0x1928d3cec start_wqthread + 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant