Build error on iOS App


I took over a project which includes CometChat. When I tried to build, It didn’t work due to “‘TypingIndicator’ has different definitions in different modules; first difference is definition in module ‘CometChatPro.Swift’ found super class with type ‘NSObject’” error.

I updated v2.1.5 from cocoapod but still the same. What should I do?