We're seeing a crash in our iOS app from the Genesys MessengerTrasnport SDK that we have in the app.
The stack trace in Firebase is this...
```
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0xb1dc __pthread_kill + 8
1 libsystem_pthread.dylib 0x7c60 pthread_kill + 268
2 libsystem_c.dylib 0x770ac abort + 124
3 MessengerTransport 0x5816ac ReportBacktraceToIosCrashLog(ObjHeader*) + 78
4 MessengerTransport 0x5815a4 void (anonymous namespace)::$_0::operator()<(anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_0>((anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_0) + 56
5 MessengerTransport 0x5813e0 (anonymous namespace)::TerminateHandler::queuedHandler() + 10
6 MessengerTransport 0x5813cc (anonymous namespace)::processUnhandledException(ObjHeader*) + 628
7 MessengerTransport 0x581080 (anonymous namespace)::TerminateHandler::kotlinHandler() + 492
8 libc++abi.dylib 0x158b4 std::__terminate(void (*)()) + 16
9 libc++abi.dylib 0x18e1c __cxa_get_exception_ptr + 86
10 libc++abi.dylib 0x18dc4 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 90
11 MessengerTransport 0x58dd98 (anonymous namespace)::ExceptionObjHolderImpl::ExceptionObjHolderImpl(ObjHeader*) + 50
12 MessengerTransport 0x58dd64 ExceptionObjHolder::Throw(ObjHeader*) + 10
13 MessengerTransport 0x3ae824 kfun:com.genesys.cloud.messenger.transport.core.MessagingClientImpl.SocketListener.onClosing#internal + 8842 (MessagingClientImpl.kt:8842)
14 MessengerTransport 0x4ad7b0 kfun:com.genesys.cloud.messenger.transport.network.PlatformSocket.PlatformSocket$listenMessages$1.$<bridge-DNNN>invoke(platform.Foundation.NSURLSessionWebSocketMessage?;platform.Foundation.NSError?){}#internal + 13 (PlatformSocketListener.kt:13)
15 MessengerTransport 0x56775c <REDACTED> + 472
16 libdispatch.dylib 0x1aac _dispatch_call_block_and_release + 32
17 libdispatch.dylib 0x1b584 _dispatch_client_callout + 16
18 libdispatch.dylib 0x385c8 _dispatch_main_queue_drain.cold.5 + 812
19 libdispatch.dylib 0x10d30 _dispatch_main_queue_drain + 180
20 libdispatch.dylib 0x10c6c _dispatch_main_queue_callback_4CF + 44
21 CoreFoundation 0x6cc30 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
22 CoreFoundation 0x10394 __CFRunLoopRun + 1980
23 CoreFoundation 0x11adc CFRunLoopRunSpecific + 572
24 GraphicsServices 0x1454 GSEventRunModal + 168
25 UIKitCore 0x135274 -[UIApplication _run] + 816
26 UIKitCore 0x100a28 UIApplicationMain + 336
27 MyApp 0x40a8 main + 3 (main.swift:3)
28 ??? 0x1adf5df08 (Missing)
```
We recently updated to V2.13.0 of GenesysMessengerTransport in the hopes that this would fix the crash but it still seems to be occurring.
We're using...
`.package(url: "https://github.com/MyPureCloud/mobile-messenger-genesyscloud-spm", .upToNextMajor(from: "2.0.0")),`
To bring the package into the project and that is currently using...
Is there someone who could help shed light on the crash and help us fix it?
Thanks
#MobileMessenger
------------------------------
Oliver Foggin
------------------------------