Unable to print out anything from CometChat in lldb

Currently on CometChat version 2.1.1, Xcode 12 when I try to print out anything from CometChat I get the following error in the screenshot. This makes debugging very hard.

Hi @jeraldo,

Please try installing 2.1.4-beta1 version of CometChat SDK. This should solve the issue faced on your end. Also make sure you have Set “Build Active Architecture Only ( ONLY_ACTIVE_ARCH )” to Yes for your app, even for release mode.

Let us know if you face any other issue. We will be happy to assist you.

Regards,
Jeet Kapadia

1 Like

Hi @jeet.kapadia. I’ve updated to 2.1.4-beta1 and all of our target’s Build Active Architecture Only are set to Yes already and still the same issue:

(lldb) po message
expression produced error: error: Couldn’t lookup symbols:
type metadata accessor for CometChatPro.BaseMessage

I am currently on Xcode 12.2.

@jeraldo try setting arm64 in the exclude architecture of your build settings.

1 Like

Hi @jeraldo,

We are looking into this issue for now you can debug using print logs and OS logs. We will let you know once the issue is fixed.

Regards,
Jeet Kapadia

Any update on this @jeet.kapadia . It’s really painful to not be able to print out values from CometChat in the debugger. :frowning: