twilio / conversations-ios

SPM releases

Home Page:https://www.twilio.com/docs/conversations/ios/changelog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash [TwilioConversationsClient was compiled with optimization]

mmmcompanies opened this issue · comments

TwilioConversationsClient was compiled with optimization - stepping may behave oddly; variables may not be available.

When add media --- .addMedia(data: ......... )

TwilioConversationsClient (2.2.2)

Xcode :- Version 13.3.1 (13E500a)
OS - macos monterey 12.3.1
chip -- Apple M1
Screen Shot 2022-06-21 at 10 14 06 AM
Screen Shot 2022-06-21 at 10 12 25 AM
Uploading Screen Shot 2022-06-21 at 10.11.47 AM.png…

Hi @mmmcompanies!
How often does it crash?
Is it reproducible without optimization?
Are you running app on simulator or device?
Could you please provide crash report and/or debug logs (with TCHLogLevelDebug or TCHLogLevelTrace level)?

Hi @Pavel-Cherentsov
I am running app on device.
I deeply research on this issue and found the solution.

It happened because we shutdown the Twilio Client before call the add media --- .addMedia(data: ......... ) function.
So we check the client shutdown or active then apply all action.

Thanks