Hi,
I'm developing an ios voip application and am facing a app crash on device when application enters foreground after being in background for quite some time. I cannot see any app crash logs in the device. The only logs i can see are the console logs :
Jul 25 17:29:51 iPhone b[1235] <Warning>: Will enter foreground
Jul 25 17:29:51 iPhone SpringBoard[58] <Warning>: UNNotificationSchedulerConnectionListener connection invalidated
Jul 25 17:29:51 iPhone SpringBoard[58] <Warning>: HW kbd: Failed to set (null) as keyboard focus
Jul 25 17:29:51 iPhone SpringBoard[58] <Warning>: UNNotificationRegistrarConnectionListener connection invalidated
Jul 25 17:29:51 iPhone com.apple.xpc.launchd[1] (UIKitApplication:com.a.b[0x9342][1235]) <Notice>: Service exited due to signal: Broken pipe: 13
Jul 25 17:29:51 iPhone SpringBoard[58] <Warning>: Application 'UIKitApplication:com.a.b[0x9342]' exited abnormally via signal.
Jul 25 17:29:52 iPhone backboardd[60] <Warning>: Unable to bootstrap_look_up port with name com.a.b.gsEvents: unknown error code (1102)
Jul 25 17:29:52 iPhone UserEventAgent[26] <Warning>: 1861940979410: id=com.a.b pid=1235, state=0
Jul 25 17:29:52 iPhone SpringBoard[58] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Jul 25 17:29:52 iPhone kernel[0] <Notice>: xpcproxy[1238] Container: /private/var/mobile/Containers/Data/Application/12FD6069-827F-4D63-9F1C-0C449104FF83 (sandbox)
Jul 25 17:29:52 iPhone com.apple.xpc.launchd[1] <Error>: assertion failed: 13G34: launchd + 116796 [9F6284CF-8A17-36CC-9DB5-85D510A21F14]: 0x3
Jul 25 17:29:52 iPhone b[1238] <Warning>: App Did Finish Launching: (null)
I'm using socket.io-swift client for backend socket communication. When app enters background, i call it's disconnect method and when app enters foreground i call on its connect method. I have searched a lot for similar issues but haven't yet come across a satisfactory solution.
Thanks for any help!