twilio / conversations-ios

SPM releases
https://www.twilio.com/docs/conversations/ios/changelog
10 stars 5 forks source link

Crash [TwilioConversationsClient was compiled with optimization] #25

Closed mmmcompanies closed 2 years ago

mmmcompanies commented 2 years ago

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…]()

Pavel-Cherentsov commented 2 years ago

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)?

mmmcompanies commented 2 years ago

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